Core Trimmed Its PHPUnit Matrix. Do the Same to Yours.
Core cut its PHPUnit matrix by 52 percent and halved its rerun rate. How to apply the same reasoning to a plugin test suite.
Core cut its PHPUnit matrix by 52 percent and halved its rerun rate. How to apply the same reasoning to a plugin test suite.
Learn how WordPress dynamic hooks like save_post_{$post_type}, manage_{$screen->id}_columns, and theme_mod_{$name} work, with code examples and gotchas.
How the WordPress shutdown action fires, how it differs from register_shutdown_function, and practical patterns for deferred logging, post-response API calls, fastcgi_finish_request, and fatal error capture.
Must-use plugins load before regular plugins, cannot be deactivated from the admin, and are the correct container for security headers, environment config, and maintenance mode.
Twelve WordPress filters that eliminate plugin dependencies entirely. Covers the_content, wp_mail, login_redirect, upload_mimes, pre_get_posts, posts_clauses, cron_schedules, body_class, the_title, excerpt_length, allowed_redirect_hosts, and wp_nav_menu_items — each with a real-world use case and a ready-to-use code snippet.
Learn how to configure separate WordPress environments for dev, staging, and production using conditional constants, WP_ENVIRONMENT_TYPE, wp-config-local.php pattern, and .env file integration.
A complete reference to every WordPress multisite wp-config.php constant: WP_ALLOW_MULTISITE, MULTISITE, SUBDOMAIN_INSTALL, DOMAIN_CURRENT_SITE, PATH_CURRENT_SITE, SITE_ID_CURRENT_SITE, BLOG_ID_CURRENT_SITE, NOBLOGREDIRECT, SUNRISE, COOKIE_DOMAIN, SITECOOKIEPATH, COOKIEHASH, and network tweaks that separate a working network from a production-grade one.