WordPress hooks explained — coral header graphic with a white line-art coat hook icon over the WordPress logo watermark, representing actions and filters.

WordPress Hooks: Actions, Filters, and How They Actually Work

Hooks are how WordPress lets plugins, themes, and your code change what the platform does. This guide covers actions vs filters, priority and accepted_args, where to put hook code, removing hooks, creating custom hooks, and modern patterns like class-method callbacks and Block Hooks in WordPress 6.4+.

wp-config.php in WordPress — coral header graphic with a white line-art gear icon over the WordPress logo watermark, representing the master configuration file.

wp-config.php: A Practical Guide to WordPress’s Config File

wp-config.php is WordPress’s master configuration file. This guide covers what it does, where to find it, every constant worth knowing, debug snippets, security hardening, and modern patterns like WP_ENVIRONMENT_TYPE and WP-CLI config commands.

WordPress post meta — coral header graphic with a white line-art price tag icon over the WordPress logo watermark, representing custom field metadata retrieval.

How to Use get_post_meta() in WordPress (with Examples)

Use get_post_meta() to retrieve any custom field value in WordPress. Function reference, the $single parameter explained, real ACF and WooCommerce examples, performance notes, and how to expose meta through the REST API.

Disable WordPress comments — coral header graphic with a white line-art slashed-through speech bubble icon over the WordPress logo watermark, signifying comments turned off.

How to Disable Comments in WordPress (Every Method)

Turn off WordPress comments completely. Six methods covering the Settings UI, single-post toggles, bulk edit, WP-CLI for hundreds of posts, a functions.php snippet, and the Disable Comments plugin, plus how to remove the leftover comments menu and admin remnants.

Coral red SmartWP brand graphic with bold white headline reading WordPress 6.9 Gene, with a white line-art piano keyboard icon honoring the codename

WordPress 6.9 “Gene”: What Shipped (December 2025)

WordPress 6.9 ‘Gene’ shipped December 2, 2025 with block-level Notes for editorial collaboration, the Command Palette extended throughout the dashboard, the new Abilities API laying foundations for AI-powered workflows, Fit Text to Container for Paragraph and Heading blocks, significant LCP performance work, and 30+ accessibility fixes.

Coral red SmartWP brand graphic with bold white headline reading WordPress 6.8 Cecil, with a white line-art grand piano icon honoring the codename

WordPress 6.8 “Cecil”: What Shipped (April 2025)

WordPress 6.8 ‘Cecil’ shipped April 15, 2025 with Speculative Loading delivering near-instant page navigation, automatic bcrypt password hashing for stronger security, the Style Book extended to Classic themes (under Appearance > Design), editor and Data Views improvements, and 100+ accessibility fixes including 70+ block editor improvements.

Coral red SmartWP brand graphic with bold white headline reading WordPress 6.7 Rollins, with a white line-art saxophone icon honoring the codename

WordPress 6.7 “Rollins”: What Shipped (November 2024)

WordPress 6.7 ‘Rollins’ shipped November 12, 2024 with the new Twenty Twenty-Five default theme, the Zoom Out macro design view, a Block Bindings UI for connecting blocks to custom fields without code, font size presets with fluid typography support, and 65+ accessibility fixes.

Coral red SmartWP brand graphic with bold white headline reading WordPress 6.6 Dorsey, with a white line-art trombone icon honoring the codename

WordPress 6.6 “Dorsey”: What Shipped (July 2024)

WordPress 6.6 ‘Dorsey’ shipped July 16, 2024 with color and font sets multiplying design combinations per theme, a side-by-side page preview layout in the Site Editor, automatic rollbacks for failed plugin updates, synced pattern overrides for Heading/Paragraph/Button/Image blocks, ~35% faster template loading, and 58 accessibility fixes.

Coral red SmartWP brand graphic with bold white headline reading WordPress 6.5 Regina, with a white line-art violin icon honoring the codename

WordPress 6.5 “Regina”: What Shipped (April 2024)

WordPress 6.5 ‘Regina’ shipped April 2, 2024 with the Font Library for typography management, Data Views for pages/templates/patterns, the new Interactivity API and Block Bindings API for developers, 110+ performance updates, 65+ accessibility improvements, and AVIF image support.

WordPress Tips Monthly
Get the latest from SmartWP to your inbox.