wzcbh_file_tab_html
Filter the file name tab HTML rendered above a code block.
Type: filter
Since: 1.2.0
Source: includes/frontend/class-blocks.php line 468
Parameters
| Type | Name | Description |
|---|---|---|
string |
$tab |
The tab HTML. |
string |
$title |
The file name / title. |
string |
$language |
The block language slug. |
Usage
add_filter( 'wzcbh_file_tab_html', function($tab, $title, $language) {
// ...
return $tab;
} );