siteorigin_panels_widget_before_styles, $this, $instance

siteorigin_panels_widget_before_styles, $this, $instance

Hook Type: action

See hook in core

Displaying hooks found in version: siteorigin-panels.2.36.0

do_action('siteorigin_panels_widget_before_styles, $this, $instance') is found 1 times:

  • /widgets/widgets.php line 286
    		if ( ! isset( $instance['origin_style'] ) ) {
    			$instance['origin_style'] = ! empty( $this->widget_options['default_style'] ) ? $this->widget_options['default_style'] : false;
    		}
    
    		do_action( 'siteorigin_panels_widget_before_styles', $this, $instance );
    
    		// Now, lets add the style options.
    		$styles = $this->get_styles();
    
    		if ( ! empty( $styles ) ) {
    			?>