register_block_core_post_featured_image()
Registers the core/post-featured-image block on the server.
No Hooks.
Return
null
. Nothing (null).
Usage
register_block_core_post_featured_image();
Changelog
Since 5.8.0 | Introduced. |
register_block_core_post_featured_image() register block core post featured image code WP 6.7.1
function register_block_core_post_featured_image() { register_block_type_from_metadata( __DIR__ . '/post-featured-image', array( 'render_callback' => 'render_block_core_post_featured_image', ) ); }