register_block_core_post_terms()
Registers the core/post-terms block on the server.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
register_block_core_post_terms();
Список изменений
С версии 5.8.0 | Введена. |
Код register_block_core_post_terms() register block core post terms WP 6.6.2
function register_block_core_post_terms() { register_block_type_from_metadata( __DIR__ . '/post-terms', array( 'render_callback' => 'render_block_core_post_terms', 'variation_callback' => 'block_core_post_terms_build_variations', ) ); }