Add a meta box in the post editor for blocking custom post types

Users who configure to block custom post types will notice that you don’t get the meta box that WP-Members shows for blocking (or unblocking) posts and pages.  While you can still use custom fields directly for custom post blocking/unblocking at the individual post level, it’s nice to have the meta box.  So I’ve put together a code snippet for you to use to implement this on your custom post type editors.

This article is only available to WP-Members Support Subscribers. If you have an existing subscription, please login below. If you do not have a current support subscription, you can purchase a support subscription here.

Existing Users Log In
   
New User Registration
*Required field