

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 actions admin admin bar archive block-themes block editor Blocks block styles block theme build buttons core CSS custom post types development filters full site editing gutenberg hook hooks Image javascript load styles media Must Have Oxygen performance php plugins react rest api scripts organizer security SEO single product tailwind theme.json Tips updates WooCommerce wordpress wp-cli wp-cron WP Admin