siteorigin_panels_ . $name . _style_classes, $attributes[class], $attributes, $style

siteorigin_panels_ . $name . _style_classes, $attributes[class], $attributes, $style

Hook Type: filter

See hook in core

Displaying hooks found in version: siteorigin-panels.2.36.0

apply_filters('siteorigin_panels_ . $name . _style_classes, $attributes[class], $attributes, $style') is found 1 times:

  • /inc/renderer.php line 872
    			}
    			$attributes['class'] = array_unique( $attributes['class'] );
    
    			// Filter and sanitize the classes
    			$attributes['class'] = apply_filters( 'siteorigin_panels_' . $name . '_style_classes', $attributes['class'], $attributes, $style );
    			$attributes['class'] = array_map( 'sanitize_html_class', $attributes['class'] );
    
    			$style_wrapper = '<div ';
    
    			foreach ( $attributes as $name => $value ) {
    				// Attributes start with _ are used for internal communication between filters, so are not added to the HTML