How to remove Publicize options from the New Post screen

Publicize adds a set of options right above the “Publish” button in your dashboard. You can hide these options by adding the following code to a functionality plugin, or to your theme’s functions.php:

// Replace with admin_head-post.php for the edit post screen
add_action( 'admin_head-post-new.php', function() {
        global $publicize_ui;
        remove_action( 'post_submitbox_misc_actions', array( $publicize_ui, 'post_page_metabox' ) );
} );

Reference

This entry was posted in Code snippets, Tips & Tricks and tagged . Bookmark the permalink.
  • Recent Comments

    Jeremy on Jetpack 4.2.2: Facebook Sharin…
    Jeremy on Get People to Stay on Your Web…
    Jeremy on Get People to Stay on Your Web…
    Dave Z on Get People to Stay on Your Web…
    Destination Infinity on Get People to Stay on Your Web…
  • Archives

  • Enter your email address to follow this blog and receive notifications of new posts by email.

  • Install Jetpack to see our line-up of features.

    Install Jetpack Now

    Don’t need all Jetpack’s features? No problem. Only activate what you need!

    Follow

    Get every new post delivered to your Inbox.

    Join 56,562 other followers

    %d bloggers like this: