Recent

get_bsearch_post_type function

get_bsearch_post_type()

Display the Post Type label.

Since: 3.3.0
Source: includes/general-template.php line 917

Signature

function get_bsearch_post_type( $post = ..., $args = ... ): string;

Parameters

TypeNameDescription
int|\WP_Post$postOptional. Post ID or post object. Default is the global $post.
string|array$args{

Returns

string — The post type label.