post_format_rewrite_base

post_format_rewrite_base

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('post_format_rewrite_base') is found 1 times:

  • /wp-includes/taxonomy.php line 45
    		 * @since 3.1.0
    		 *
    		 * @param string $context Context of the rewrite base. Default 'type'.
    		 */
    		$post_format_base = apply_filters( 'post_format_rewrite_base', 'type' );
    		$rewrite          = array(
    			'category'    => array(
    				'hierarchical' => true,
    				'slug'         => get_option( 'category_base' ) ? get_option( 'category_base' ) : 'category',
    				'with_front'   => ! get_option( 'category_base' ) || $wp_rewrite->using_index_permalinks(),
    				'ep_mask'      => EP_CATEGORIES,