SHARE
TWEET

Untitled

a guest Sep 19th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Change default options
  3.  *
  4.  * @param $defaults
  5.  *
  6.  * @return mixed
  7.  */
  8. function my_cvwp_post_defaults( $defaults ){
  9.  
  10.     $defaults['video']['width'] = 400;
  11.     $defaults['video']['volume'] = 0;
  12.  
  13.     return $defaults;
  14. }
  15. add_filter('cvwp_the_post_option_default', 'my_cvwp_post_defaults');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top