Created
July 22, 2014 19:14
-
-
Save gmax21/1d7764eda5e6efe78acd to your computer and use it in GitHub Desktop.
Remove the WPMU DEV Classified Ads tab from BuddyPress profile.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'remove_classified_nav_buddypress'); | |
function remove_classified_nav_buddypress() { | |
global $Classifieds_Core; | |
remove_action('wp', array( $Classifieds_Core, 'add_navigation' ), 2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment