

Lock the Publish button in WordPress until a featured image is set, while Save Draft keeps working. Enforced in the editor and the REST API.

Restrict the WordPress REST API to logged-in users with one filter. Keep an allowlist of public routes such as oEmbed or the WooCommerce Store API.

Stop posts from being published until a category and one of its subcategories are checked. Save Draft keeps working, and the editor shows the error.
3rd party plugins admin admin bar archive block-themes block editor Blocks block styles block theme buttons Category core CPT CSS custom post types debugging development gutenberg hook hooks Image img javascript Must Have npm Oxygen performance php plugins react repeater rest api scripts organizer security settings api single product tailwind Taxonomy theme.json Tips updates WooCommerce wordpress wp-cli WP Admin