siteorigin_panels_widget_instance

siteorigin_panels_widget_instance

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: siteorigin-panels.2.31.3

apply_filters('siteorigin_panels_widget_instance') is found 1 times:

  • /inc/renderer.php line 759
    		$the_widget = SiteOrigin_Panels::get_widget_instance( $widget_class );
    		$the_widget = apply_filters( 'siteorigin_panels_widget_object', $the_widget, $widget_class, $instance );
    
    		// Allow other themes/plugins to override the instance.
    		$instance = apply_filters( 'siteorigin_panels_widget_instance', $instance, $the_widget, $widget_class );
    
    		if ( empty( $post_id ) ) {
    			$post_id = get_the_ID();
    
    			if ( class_exists( 'WooCommerce' ) && is_shop() ) {
    				$post_id = wc_get_page_id( 'shop' );
    

See this hook used in plugins: