File "social-previews.php"
Full Path: /home/warrior1/public_html/wp-content-20241001222009/plugins/jetpack/extensions/blocks/social-previews/social-previews.php
File size: 520 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Social Previews Block.
*
* @since 8.x
*
* @package automattic/jetpack
*/
namespace Automattic\Jetpack\Extensions\Social_Previews;
use Automattic\Jetpack\Blocks;
const FEATURE_NAME = 'social-previews';
const BLOCK_NAME = 'jetpack/' . FEATURE_NAME;
/**
* Registers the Social Previews feature with the block editor.
*/
function register_block() {
Blocks::jetpack_register_block(
BLOCK_NAME,
array(
'plan_check' => false,
)
);
}
add_action( 'init', __NAMESPACE__ . '\register_block' );