adding code in multisite function.php
-
I am trying to add function to autoplay videos in mycred_video hook
i got this code from the forumadd_filter( 'mycred_video_query_youtube', 'mycred_adjust_youtube_iframe' ); function mycred_adjust_youtube_iframe( $attr ) { $attr['autoplay'] = 1; return $attr; }
i am using wordpress multi-site so when i trying to add them on supe-site function.php
i am getting an error ( some can’t communicate error )can you tell me where to add this script in wordpress multisite = i also tried using WPCode plugin for the same but didn’t worked
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘adding code in multisite function.php’ is closed to new replies.