gatherpressassetutilitystyleblockprefixes

Filters additional block-name prefixes whose blocks should
auto-enqueue the GatherPress utility stylesheet.

Companion plugins and themes can use this filter to share the
utility CSS with their own blocks (e.g. gatherpress-awesome/).
The gatherpress/ prefix is appended after this filter runs and
cannot be removed through it.

Auto-generated Example

add_filter(
   'gatherpress_asset_utility_style_block_prefixes',
    function( GatherPressstring[] $prefixes ) {
        // Your code here.
        return $prefixes;
    }
);

Parameters

  • GatherPressstring[] $prefixes Additional block-name prefixes to match.

Files

apply_filters( 'gatherpress_asset_utility_style_block_prefixes', array() )

← All Hooks