wpseek.com
A WordPress-centric search engine for devs and theme authors



block_bindings_source_value › WordPress Filter Hooks

Since6.7.0
Deprecatedn/a
apply_filters( 'block_bindings_source_value', $value, $this->name, $source_args, $block_instance, $attribute_name )
Parameters: (5)
  • (mixed) $value The computed value for the source.
    Required: Yes
  • (string) $name The name of the source.
    Required: Yes
  • (array) $source_args Array containing source arguments used to look up the override value, i.e. { "key": "foo" }.
    Required: Yes
  • (WP_Block) $block_instance The block instance.
    Required: Yes
  • (string) $attribute_name The name of an attribute.
    Required: Yes
Defined at:
Codex:

Filters the output of a block bindings source.





Source

return apply_filters( 'block_bindings_source_value', $value, $this->name, $source_args, $block_instance, $attribute_name );