Recent

wherego_get_style filter

wherego_get_style

Filter the style array which contains the name and extra_css.

Type: filter
Since: 3.0.0
Source: includes/frontend/class-styles-handler.php line 167

Parameters

TypeNameDescription
array$style_arrayStyle array containing name and extra_css.
string$wherego_styleStyle name.
int$thumb_widthThumbnail width.
int$thumb_heightThumbnail height.

Usage

add_filter( 'wherego_get_style', function($style_array, $wherego_style, $thumb_width, $thumb_height) {
    // ...
    return $style_array;
} );