the_bsearch_post_type
Filters the post type displayed for the current post.
Type: filter
Since: 4.4.4
Source: includes/general-template.php line 1030
Parameters
| Type | Name | Description |
|---|---|---|
string |
$output |
The post type. |
int|\WP_Post |
$post |
WP_Post object. |
array |
$args |
Array of arguments. |
Usage
add_filter( 'the_bsearch_post_type', function($output, $post, $args) {
// ...
return $output;
} );