rewrite_rules_array

rewrite_rules_array

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('rewrite_rules_array') is found 1 times:

  • /wp-includes/class-wp-rewrite.php line 1476
    		 * @since 1.5.0
    		 *
    		 * @param string[] $rules The compiled array of rewrite rules, keyed by their regex pattern.
    		 */
    		$this->rules = apply_filters( 'rewrite_rules_array', $this->rules );
    
    		return $this->rules;
    	}
    
    	/**
    	 * Retrieves the rewrite rules.
    

See this hook used in plugins: