post_format_rewrite_base filter-hookWP 3.1.0

Filters the post formats rewrite base.

Usage

add_filter( 'post_format_rewrite_base', 'wp_kama_post_format_rewrite_base_filter' );

/**
 * Function for `post_format_rewrite_base` filter-hook.
 * 
 * @param string $context Context of the rewrite base.
 *
 * @return string
 */
function wp_kama_post_format_rewrite_base_filter( $context ){

	// filter...
	return $context;
}
$context(string)
Context of the rewrite base.
Default: 'type'

Changelog

Since 3.1.0 Introduced.

Where the hook is called

create_initial_taxonomies()
post_format_rewrite_base
wp-includes/taxonomy.php 45
$post_format_base = apply_filters( 'post_format_rewrite_base', 'type' );

Where the hook is used in WordPress

Usage not found.