siteorigin_panels_ . $name . _style_classes, $attributes[class], $attributes, $style
siteorigin_panels_ . $name . _style_classes, $attributes[class], $attributes, $style
Appears in: siteorigin-panels.2.36.0
Hook Type: filter
Displaying hooks found in version: siteorigin-panels.2.36.0apply_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