Skip to content

Instantly share code, notes, and snippets.

@gmax21
Created July 22, 2014 19:14
Show Gist options
  • Save gmax21/1d7764eda5e6efe78acd to your computer and use it in GitHub Desktop.
Save gmax21/1d7764eda5e6efe78acd to your computer and use it in GitHub Desktop.
Remove the WPMU DEV Classified Ads tab from BuddyPress profile.
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