wherego_excerpt
Filters excerpt generated by wherego.
Type: filter
Since: 1.3
Source: includes/frontend/class-display.php line 623
Parameters
| Type | Name | Description |
|---|---|---|
string | $output | Formatted excerpt. |
int|\WP_Post | $post | Post ID. |
int | $excerpt_length | Length of the excerpt. |
bool | $use_excerpt | Whether to use the excerpt. |
Usage
add_filter( 'wherego_excerpt', function($output, $post, $excerpt_length, $use_excerpt) {
// ...
return $output;
} );