Recent

crp_get_style filter

crp_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 145

Parameters

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

Usage

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