Example of fpw_auto_excerpt filter in Feature a Page Widget 2.0. By default, the widget only shows the excerpt for posts with an explicitly-set excerpt (i.e. has_excerpt() is TRUE).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|* Set fpw_auto_excerpt to TRUE to allow auto-generated excerpts if the Excerpt field is blank|
|* Uses the_excerpt() and associated filters.|
|add_filter( 'fpw_auto_excerpt', '__return_true' );|