wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



excerpt_allowed_wrapper_blocks › Les Filtres WordPress

Depuis5.8.0
Dépréciéen/a
apply_filters( 'excerpt_allowed_wrapper_blocks', $allowed_wrapper_blocks )
Paramètres:
  • (string[]) $allowed_wrapper_blocks The list of names of allowed wrapper blocks.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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