tptn_get_style
Filter the style array which contains the name and extra_css.
Type: filter
Since: 3.2.0
Source: includes/frontend/class-styles-handler.php line 186
Parameters
| Type | Name | Description |
|---|---|---|
array | $style_array | Style array containing name and extra_css. |
string | $tptn_style | Style name. |
int | $thumb_width | Thumbnail width. |
int | $thumb_height | Thumbnail height. |
Usage
add_filter( 'tptn_get_style', function($style_array, $tptn_style, $thumb_width, $thumb_height) {
// ...
return $style_array;
} );