Recent

get_bsearch_post_typefilter

get_bsearch_post_type

Filters the post type label for the current post.

Type: filter
Since: 4.4.4
Source: includes/general-template.php line 1077

Parameters

Type Name Description
string $output The post type label.
int|\WP_Post $post WP_Post object.
array $args Array of arguments.

Usage

add_filter( 'get_bsearch_post_type', function($output, $post, $args) {
    // ...
    return $output;
} );