siteorigin_panels_cache_shortcode, siteorigin_widget, $widget, $instance, $args

siteorigin_panels_cache_shortcode, siteorigin_widget, $widget, $instance, $args

Hook Type: filter

See hook in core

Displaying hooks found in version: siteorigin-panels.2.36.0

apply_filters('siteorigin_panels_cache_shortcode, siteorigin_widget, $widget, $instance, $args') is found 1 times:

  • /inc/widget-shortcode.php line 93
    			'args' => $args,
    		);
    
    		// This allows other plugins to implement their own shortcode. For example, to work when Page Builder isn't active
    		$shortcode_name = apply_filters( 'siteorigin_panels_cache_shortcode', 'siteorigin_widget', $widget, $instance, $args );
    
    		$shortcode = '[' . $shortcode_name . ' ';
    		$shortcode .= 'class="' . htmlentities( preg_replace( '/\\\\+/', '\\\\\\\\', get_class( $widget ) ) ) . '"]';
    		$shortcode .= self::encode_data( $data );
    		$shortcode .= '[/' . $shortcode_name . ']';