Skip to content

Instantly share code, notes, and snippets.

@modemlooper
Created October 9, 2015 19:51
Show Gist options
  • Save modemlooper/bebbed85b4cb7767acbc to your computer and use it in GitHub Desktop.
Save modemlooper/bebbed85b4cb7767acbc to your computer and use it in GitHub Desktop.
remove bbp_setup_current_user nocite
function remove_bbp_setup_current_user_notice( $function, $message, $version ) {
if( 'bbp_setup_current_user' === $function ) {
return false;
}
}
add_action( 'doing_it_wrong_run', 'remove_bbp_setup_current_user_notice', 10, 3 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment