register_block_core_term_description()
Registers the core/term-description block on the server.
Хуков нет.
Возвращает
null. Ничего (null).
Использование
register_block_core_term_description();
Список изменений
| С версии 5.9.0 | Введена. |
Код register_block_core_term_description() register block core term description WP 7.1
function register_block_core_term_description() {
register_block_type_from_metadata(
__DIR__ . '/term-description',
array(
'render_callback' => 'render_block_core_term_description',
)
);
}