Yoast Test Helper 1.19 has 5 actions and 5 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Yoast Test Helper fires an action
add_action( 'Yoast\WP\Test_Helper\notification', function( $notification ) {
// Your code runs here.
}, 10, 1 );
// Change a value Yoast Test Helper is about to use
add_filter( 'Yoast\WP\Test_Helper\admin_page', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
apply_filters( 'Yoast\WP\Test_Helper\admin_page', '' ); -
do_action( 'Yoast\WP\Test_Helper\notification', new Notification( \sprintf( \__( '%1$s has been succesfully downgraded to version %2$s.', 'yoast-test-helper' ), 'Yoast SEO', $target_version, ), 'success', ) ); -
wpseo_register_capabilities
actiondo_action( 'wpseo_register_capabilities' ); -
wpseo_register_roles
actiondo_action( 'wpseo_register_roles' ); -
apply_filters( 'wpseo_sitemap_entries_per_page', 1000 ); -
apply_filters( 'Yoast\WP\Test_Helper\logger_max_rows', self::DEFAULT_MAX_ROWS ); -
do_action( 'Yoast\WP\Test_Helper\notifications', $this ); -
apply_filters( 'Yoast\WP\Test_Helper\plugin_toggle_extend', $plugin_groups ); -
apply_filters( 'Yoast\WP\Test_Helper\plugin_toggler_filter', $this->grouped_name_filter );
Generated from Yoast Test Helper's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: