public function __construct() { parent::__construct(); add_action('wp_enqueue_scripts', array($this, 'front_scripts')); add_action('wp_head', array($this, 'front_head')); add_filter('the_content', array($this, 'content_filter'), 20); add_filter('the_excerpt', array($this, 'excerpt_filter'), 20); add_shortcode('isc_list', array($this, 'list_post_attachments_with_sources_shortcode')); add_shortcode('isc_list_all', array($this, 'list_all_post_attachments_sources_shortcode')); }