Recent

wzcbh_download_extensionsfilter

wzcbh_download_extensions

Filter the language slug to download file extension map.

Values starting with a dot are appended to snippet; a value without a dot is used as the complete file name.

Type: filter
Since: 1.2.0
Source: includes/frontend/class-blocks.php line 426

Parameters

Type Name Description
string $language The language slug being resolved.

Usage

add_filter( 'wzcbh_download_extensions', function($language) {
    // ...
    return $language;
} );