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



hooked_block_types › Les Filtres WordPress

Depuis6.4.0
Dépréciéen/a
› apply_filters( 'hooked_block_types', $hooked_block_types, $relative_position, $anchor_block_type, $context )
Paramètres: (4)
  • () hooked_block_types The list of hooked block types.
    Requis: Oui
  • () relative_position The relative position of the hooked blocks. Can be one of 'before', 'after', 'first_child', or 'last_child'.
    Requis: Oui
  • () anchor_block_type The anchor block type.
    Requis: Oui
  • () context The block template, template part, post object, or pattern that the anchor block belongs to.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the list of hooked block types for a given anchor block type and relative position.





Source

$hooked_block_types = apply_filters( 'hooked_block_types', $hooked_block_types, $relative_position, $anchor_block_type, $context );