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.2

apply_filters('post_format_rewrite_base') is found 1 times:

  • /wp-includes/taxonomy.php line 45
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    * @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,