gianism_rewrite_rules

gianism_rewrite_rules

Hook Type: filter

See hook in core

Displaying hooks found in version: gianism.5.2.2

apply_filters('gianism_rewrite_rules') is found 1 times:

  • /app/Gianism/Controller/Rewrite.php line 75
    			 * @filter
    			 * @param array $rewrites Rewrite rules array for Gianism
    			 * @return array
    			 */
    			$this->rewrites = apply_filters( 'gianism_rewrite_rules', $rewrites );
    			// Hook for rewrite rules
    			add_filter( 'rewrite_rules_array', [ $this, 'rewrite_rules_array' ] );
    			// Check if rewrite rules are satisfied
    			add_action( 'admin_init', [ $this, 'check_rewrite' ] );
    			// WP_Query
    			add_action( 'pre_get_posts', [ $this, 'hijack_query' ] );