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