tptn_excerpt
Filters excerpt generated by CRP.
Type: filter
Since: 4.0.0
Source: includes/frontend/class-display.php line 1061
Parameters
| Type | Name | Description |
|---|---|---|
string | $output | Formatted excerpt. |
\WP_Post | $post | Source Post instance. |
int | $excerpt_length | Length of the excerpt. |
boolean | $use_excerpt | Use the excerpt? |
Usage
add_filter( 'tptn_excerpt', function($output, $post, $excerpt_length, $use_excerpt) {
// ...
return $output;
} );