WordPress Dynamic Hooks: The Complete save_post_{type} Guide
Learn how WordPress dynamic hooks like save_post_{$post_type}, manage_{$screen->id}_columns, and theme_mod_{$name} work, with code examples and gotchas.
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 real-world use cases and a companion Gist.
Maps every WordPress esc_*, wp_kses_*, and sanitize_* function to its exact context, with the 'sanitize on input, escape on output' rule that eliminates XSS.
How WordPress hook priority numbers work, how to remove object method and closure callbacks, and runtime tools like doing_action(), did_action(), and $wp_filter inspection.
WordPress SSL/TLS performance guide covering OCSP stapling, TLS 1.3 cipher config, session resumption, HTTP/2 setup, FORCE_SSL_ADMIN, mixed content fixes, and Cloudflare Full Strict mode.
PHP-FPM tuning guide for WordPress: how to calculate pm.max_children from actual memory usage, set spare server counts, configure request timeouts, and monitor pool health.
WordPress .htaccess optimization covering Gzip compression with mod_deflate, browser caching via mod_expires, ETag removal, security rules, hotlink protection, and XML-RPC blocking.
Complete Nginx FastCGI cache setup for WordPress: cache zone config, logged-in user bypass, WooCommerce exclusions, purge on publish, and HIT/MISS header debugging.
MySQL tuning guide for WordPress covering innodb_buffer_pool_size, max_connections, thread_cache_size, tmp_table_size, slow query log, and a complete my.cnf configuration.
OPcache configuration guide for WordPress covering memory_consumption, max_accelerated_files, revalidate_freq, JIT settings, and how to verify hit rate on production.