I really like your Audio plugin. I’m using plugin only on certain types of pages, so I wanted to load plugin resources only for these pages. I’m trying to do it in my functions.php file and right now code looks like:
global $_audio_wp_plugin; remove_action('wp_print_scripts', array (&$_audio_wp_plugin, 'scripts')); remove_action('wp_print_styles', array (&$_audio_wp_plugin, 'styles'));
But this code doesn’t work. Do you have any comments?
- The topic ‘[Plugin: Audio] Problem with remove_action function’ is closed to new replies.