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