Recent

tptn_get_style filter

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

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

Usage

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