[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/block-bindings/ -> pattern-overrides.php (summary)

Pattern Overrides source for the Block Bindings.

File Size: 47 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  _block_bindings_pattern_overrides_get_value()
  _register_block_bindings_pattern_overrides_source()

Functions
Functions that are not part of a class:

_block_bindings_pattern_overrides_get_value( array $source_args, $block_instance, string $attribute_name )   X-Ref
Gets value for the Pattern Overrides source.

return: mixed The value computed for the source.
param: array    $source_args    Array containing source arguments used to look up the override value.
param: WP_Block $block_instance The block instance.
param: string   $attribute_name The name of the target attribute.

_register_block_bindings_pattern_overrides_source()   X-Ref
Registers Pattern Overrides source in the Block Bindings registry.




Generated : Thu May 2 08:20:01 2024 Cross-referenced by PHPXref