wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



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

Da5.9.0
Deprecaton/a
› apply_filters( "render_block_{$this->name}", $block_content, $this->parsed_block, $this )
Parametri: (3)
  • () block_content The block content.
    Richiesto: Sì
  • () block The full block, including name and attributes.
    Richiesto: Sì
  • () instance The block instance.
    Richiesto: Sì
Definito a:
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".




Sorgenti

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