/** * Register widget with WordPress. */ public function __construct() { parent::__construct(); // Get the settings for the this widget $this->fields = apply_filters('pw/featured_page_fields', array('read_more_text' => true)); $this->excerpt_lengths = apply_filters('pw/featured_page_excerpt_lengths', array('inline_excerpt' => 60, 'block_excerpt' => 240)); }
/** * Register widget with WordPress. */ public function __construct() { parent::__construct(); }