Recent

get_bsearch_post_typefunction

get_bsearch_post_type()

Display the Post Type label.

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

Signature

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

Parameters

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

Returns

string — The post type label.