Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: add_submenu_page & __FILE__ problem


grosbouff
Participant

@grosbouff

add_submenu_page( 'bp-core.php', __( 'Classifieds Setup', 'classifieds' ), __( 'Classifieds Setup', 'classifieds' ), 2, "bp-classifieds", "bp_classifieds_siteadmin_screen" );

gives me the url

http://127.0.0.1/kine/wordpress-mu/wp-admin/bp-classifieds

bp-classifieds.php is my main file and is under /plugins…

Skip to toolbar