Prevent in page SEO meta box showing in Private Post types

Currently Smartcrawl is showing the in page SEO metabox in from private post types like orders, coupon and voucher in the admin. Please prevent it from showing in those private post types. So it just shows on the edit screens of WordPress native post and products.

  • Ash
    • WordPress Hacker

    Hello Vlad

    Yes, this is not possible out of the box. I am creating a feature request and informing the developer so they can take a look.

    As a workaround, please go to /wp-content/plugins/wpmu-dev-seo/includes/admin/metabox.php line no 211 and add ‘public’ => true as the array parameter. It will look like the following:

    $post_types = get_post_types(array(
    'show_ui' => true, // Only if it actually supports WP UI.
    'public' => true

    Please note, if you edit, the changes will be lost when you will update the plugin. So, better note it down and apply the changes again.

    Have a nice day!



Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.