Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
To add back the normal wordpress admin toolbar for users
function disable_wpcomtoolbar ( $modules ) {
if ( isset( $modules['masterbar'] ) ) {
unset( $modules['masterbar'] );
return $modules;
add_filter( 'jetpack_get_available_modules', 'disable_wpcomtoolbar' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment