Recent

get_bsearch_term_list function

get_bsearch_term_list()

Retrieves a post’s terms as a list with specified format. Works with custom post types.

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

Signature

function get_bsearch_term_list( $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 terms list.