Recent

wzkb_block_metadata_path filter

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

TypeNameDescription
string$pathDefault path within the free plugin.
string$block_nameBlock slug.

Usage

add_filter( 'wzkb_block_metadata_path', function($path, $block_name) {
    // ...
    return $path;
} );