wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



hooked_block › Filtr WordPress Hooks

Od6.5.0
Przestarzałyn/a
apply_filters( 'hooked_block', $parsed_hooked_block, $hooked_block_type, $relative_position, $parsed_anchor_block, $context )
Parametry: (5)
  • (array|null) $parsed_hooked_block The parsed block array for the given hooked block type, or null to suppress the block.
    Wymagane: Tak
  • (string) $hooked_block_type The hooked block type name.
    Wymagane: Tak
  • (string) $relative_position The relative position of the hooked block.
    Wymagane: Tak
  • (array) $parsed_anchor_block The anchor block, in parsed block array format.
    Wymagane: Tak
  • (WP_Block_Template|WP_Post|array) $context The block template, template part, `wp_navigation` post type, or pattern that the anchor block belongs to.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the parsed block array for a given hooked block.





Źródło

$parsed_hooked_block = apply_filters( 'hooked_block', $parsed_hooked_block, $hooked_block_type, $relative_position, $parsed_anchor_block, $context );