Filter: jsps_get_excerpt

apply_filters( 'jsps_get_excerpt', $content, $count ) → {string}
Gets an excerpt from the $post->post_content based on the number of letter requested ($count), mostly used for Share APIs that use long text.

Parameters:

Name Type Default Description
$content object The post_content shortened.
$count int 80 The number of letters requested.
Since:
  • 2.0.0 First version
Author:
Source:

Returns:

The shortened content used as excerpt
Type
string