wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
_register_block_bindings_post_data_source is private and should not be used in themes or plugins directly.
_register_block_bindings_post_data_source › WordPress Function
Da6.9.0
Deprecaton/a
› _register_block_bindings_post_data_source ( Nessun parametro )
| Accedi: |
|
| Definito a: |
|
| Codex: |
Registers Post Data source in the block bindings registry.
Sorgenti
function _register_block_bindings_post_data_source() {
register_block_bindings_source(
'core/post-data',
array(
'label' => _x( 'Post Data', 'block bindings source' ),
'get_value_callback' => '_block_bindings_post_data_get_value',
'uses_context' => array( 'postId', 'postType' ), // Both are needed on the client side.
)
);
}