register_block_core_social_link

Advertisement

Summery Summery

Registers the core/social-link blocks.

Syntax Syntax

register_block_core_social_link()

Source Source

File: wp-includes/blocks/social-link.php

function register_block_core_social_link() {
	register_block_type_from_metadata(
		__DIR__ . '/social-link',
		array(
			'render_callback' => 'render_block_core_social_link',
		)
	);
}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.