Recent

wherego_get_stylefilter

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

Type Name Description
array $style_array Style array containing name and extra_css.
string $wherego_style Style name.
int $thumb_width Thumbnail width.
int $thumb_height Thumbnail height.

Usage

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