Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: problem using another plugin's class…


Detective
Participant

@detective

Maybe your BP plugin is loaded before the WP plugin, and therefore the mapress class is undeclared. Perhaps it’s best for you to do the following:

function init_my_plugin() { global $bp_mapress; $bp_mapress = new mapress; }
add_action( 'plugins_loaded', 'init_my_plugin' );

Skip to toolbar