wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



excerpt_allowed_wrapper_blocks › WordPress Filter Hooks

Da5.8.0
Deprecaton/a
apply_filters( 'excerpt_allowed_wrapper_blocks', $allowed_wrapper_blocks )
Parametri:
  • (string[]) $allowed_wrapper_blocks The list of names of allowed wrapper blocks.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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