File "core-cover.php"

Full Path: /home/warrior1/public_html/plugins/jetpack/extensions/extended-blocks/core-cover/core-cover.php
File size: 530 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Plan checks for uploading video files to core/cover.
 *
 * @package automattic/jetpack
 **/

// Populate the available extensions with core/cover.
add_filter(
	'jetpack_set_available_extensions',
	function ( $extensions ) {
		return array_merge(
			$extensions,
			array(
				'core/cover',
			)
		);
	}
);

// Set the core/cover block availability, depending on the site plan.
add_action(
	'jetpack_register_gutenberg_extensions',
	function () {
		\Jetpack_Gutenberg::set_availability_for_plan( 'core/cover' );
	}
);