get_bsearch_excerpt()
Function to create an excerpt for the post.
Since: 1.2
Source: includes/general-template.php line 82
Signature
function get_bsearch_excerpt( $post = ..., $excerpt_length = ..., $use_excerpt = ..., $relevant = ... ): string;
Parameters
| Type | Name | Description |
|---|---|---|
int|\WP_Post | $post | Post ID or WP_Post instance. |
int | $excerpt_length | Length of the excerpt in words. |
bool | $use_excerpt | Use post excerpt or content. |
bool | $relevant | Only relevant portion of excerpt. |
Returns
string — Excerpt