wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



hooked_block_types › Hooks de Filtros WordPress

Desde6.4.0
Obsoleton/a
› apply_filters( 'hooked_block_types', $hooked_block_types, $relative_position, $anchor_block_type, $context )
Parâmetros: (4)
  • () hooked_block_types The list of hooked block types.
    Required: Yes
  • () relative_position The relative position of the hooked blocks. Can be one of 'before', 'after', 'first_child', or 'last_child'.
    Required: Yes
  • () anchor_block_type The anchor block type.
    Required: Yes
  • () context The block template, template part, post object, or pattern that the anchor block belongs to.
    Required: Yes
Definido em:
Codex:

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





Fonte

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