unregister_block_bindings_source()
Unregisters a block bindings source.
Хуков нет.
Возвращает
WP_Block_Bindings_Source|false
. The unregistered block bindings source on success and false otherwise.
Использование
unregister_block_bindings_source( $source_name );
- $source_name(строка) (обязательный)
- Block bindings source name including namespace.
Список изменений
С версии 6.5.0 | Введена. |
Код unregister_block_bindings_source() unregister block bindings source WP 6.7.1
function unregister_block_bindings_source( string $source_name ) { return WP_Block_Bindings_Registry::get_instance()->unregister( $source_name ); }