A WordPress-centric search engine for devs and theme authors



render_block_context ›

Since5.5.0
Deprecatedn/a
apply_filters( 'render_block_context', $context, $parsed_block )
Parameters: (2)
  • (array) $context Default context.
    Required: Yes
  • (array) $parsed_block Block being rendered, filtered by `render_block_data`.
    Required: Yes
Defined at:
Codex:

Filters the default context provided to a rendered block.





Source

$context = apply_filters( 'render_block_context', $context, $parsed_block );