Skip to main content
7 events
when toggle format what by license comment
Oct 17, 2013 at 14:21 comment added helgatheviking Good point. I'm not overly familiar with the plugin, but it looks like the main plugin file requires another file where wp_bannerize() is defined, so I'm not sure why the default priority didn't work.
Oct 17, 2013 at 14:11 comment added gmazzap @helgatheviking plugins_loaded run when all plugins are loaded. If it works using an lower priority and not using standard 10, probably is because target plugin use same hook to load file containing the function... This is the reason why when in a plugin we need another plugin function we should use the proper hook. And what's the proper hook depends on third party plugin... normally wp_loaded is a good choice, but there isn't a general rule...
Oct 17, 2013 at 13:14 comment added helgatheviking plugins_loaded might still be too soon if this plugin is loaded before WP Bannerize is loaded. Try changing the priority from the default 10 to 20 (which is working for me), or even try a later hook, such as init
Oct 17, 2013 at 13:00 comment added Salvatore Dibenedetto WP Bannerize 3.0.52?
Oct 17, 2013 at 12:30 comment added Dero @SalvatoreDibenedetto Sorry to hear that. Are you sure you have WP Bannerize plug-in activated? I just tried to create a testing plug-in using my code and it detects the wp_bannerize function correctly with the latest version of WP Bannerize plug-in.
Oct 17, 2013 at 12:16 comment added Salvatore Dibenedetto thank you Dero...but even with this i got "not exist"
Oct 17, 2013 at 11:28 history answered Dero CC BY-SA 3.0