WordPress core functionality features


/* Disable the Admin Bar. */
add_filter( ‘show_admin_bar’, ‘__return_false’ );
remove_action( ‘personal_options’, ‘_admin_bar_preferences’ );

// stop wp notice to update core
add_filter( ‘pre_site_transient_update_core’, create_function( ‘$a’, “return null;” ) );

// stop wp notice to update plugins
remove_action( ‘load-update-core.php’, ‘wp_update_plugins’ );
add_filter( ‘pre_site_transient_update_plugins’, create_function( ‘$a’, “return null;” ) );

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s