wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



excerpt_allowed_wrapper_blocks › WordPress Filter Hooks

Seit5.8.0
Veraltetn/v
apply_filters( 'excerpt_allowed_wrapper_blocks', $allowed_wrapper_blocks )
Parameter:
  • (string[]) $allowed_wrapper_blocks The list of names of allowed wrapper blocks.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the list of blocks that can be used as wrapper blocks, allowing excerpts to be generated from the `innerBlocks` of these wrappers.





Quellcode

$allowed_wrapper_blocks = apply_filters( 'excerpt_allowed_wrapper_blocks', $allowed_wrapper_blocks );