yoast_add_dynamic_rewrite_rules

yoast_add_dynamic_rewrite_rules

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-seo.24.8.1

do_action('yoast_add_dynamic_rewrite_rules') is found 1 times:

  • /inc/class-yoast-dynamic-rewrites.php line 141
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
         *
         * @param self $dynamic_rewrites Dynamic rewrites handler instance. Use its `add_rule()` method
         *                               to add dynamic rewrite rules.
         */
        do_action( 'yoast_add_dynamic_rewrite_rules', $this );
    }
     
    /**
     * Filters the rewrite rules option to dynamically add additional rewrite rules.
     *
     * @param array|string $rewrite_rules Array of rewrite rule $regex => $query pairs, or empty string

See this hook used in plugins: