Recent

get_bsearch_term_listfunction

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 959

Signature

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