post_format_rewrite_base

post_format_rewrite_base

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.3.2

apply_filters('post_format_rewrite_base') is found 1 times:

  • /wp-includes/taxonomy.php line 42
    		 * @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,