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



render_block_{$this->name} › Filtr WordPress Hooks

Od5.9.0
Przestarzałyn/a
apply_filters( "render_block_{$this->name}", $block_content, $this->parsed_block, $this )
Parametry: (3)
  • (string) $block_content The block content.
    Wymagane: Tak
  • (array) $block The full block, including name and attributes.
    Wymagane: Tak
  • (WP_Block) $instance The block instance.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the content of a single block.

The dynamic portion of the hook name, $name, refers to the block name, e.g. "core/paragraph".





Źródło

$block_content = apply_filters( "render_block_{$this->name}", $block_content, $this->parsed_block, $this );