Recent

the_bsearch_post_typefunction

the_bsearch_post_type()

Display the Post Type on the search results page.

Since: 3.0.0
Source: includes/general-template.php line 1019

Changelog

Version Description
3.3.0 Removed $echo parameter. This function will always display the post type.
3.0.0 Introduced.

Signature

function the_bsearch_post_type( $post = ..., $args = ... );

Parameters

Type Name Description
int|WP_Post $post Optional. Post ID or post object. Default is the global $post.
string|array $args Optional. Array or string of parameters.

See Also

  • get_bsearch_post_type()