wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



block_bindings_source_value › WordPress Filter Hooks

Seit6.7.0
Veraltetn/v
apply_filters( 'block_bindings_source_value', $value, $this->name, $source_args, $block_instance, $attribute_name )
Parameter: (5)
  • (mixed) $value The computed value for the source.
    Erforderlich: Ja
  • (string) $name The name of the source.
    Erforderlich: Ja
  • (array) $source_args Array containing source arguments used to look up the override value, i.e. { "key": "foo" }.
    Erforderlich: Ja
  • (WP_Block) $block_instance The block instance.
    Erforderlich: Ja
  • (string) $attribute_name The name of an attribute.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the output of a block bindings source.





Quellcode

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