function __construct($args) { add_action('cherry-options-updated', array($this, 'clear_cache')); add_action('cherry-section-restored', array($this, 'clear_cache')); add_action('cherry-options-restored', array($this, 'clear_cache')); add_action('customize_save_after', array($this, 'clear_cache')); add_action('update_option', array($this, 'clear_cache_options')); parent::__construct($args); }
function __construct($options) { add_filter('cherry_header_options_list', array($this, 'set_slider_options')); parent::__construct($options); }