register_block_core_post_author_name()WP 6.2.0

Registers the core/post-author-name block on the server.

No Hooks.

Returns

null. Nothing (null).

Usage

register_block_core_post_author_name();

Changelog

Since 6.2.0 Introduced.

register_block_core_post_author_name() code WP 6.8.1

function register_block_core_post_author_name() {
	register_block_type_from_metadata(
		__DIR__ . '/post-author-name',
		array(
			'render_callback' => 'render_block_core_post_author_name',
		)
	);
}