wzkb_block_metadata_path
Filter the path to the block metadata directory for a given block.
Type: filter
Since: 3.0.0
Source: includes/blocks/class-blocks.php line 116
Parameters
| Type | Name | Description |
|---|---|---|
string | $path | Default path within the free plugin. |
string | $block_name | Block slug. |
Usage
add_filter( 'wzkb_block_metadata_path', function($path, $block_name) {
// ...
return $path;
} );