PHP 8.2.31
Preview: publicize.php Size: 511 B
//home/nshryvcy/himaltourism.com/wp-content/plugins/jetpack/extensions/plugins/publicize/publicize.php

<?php
/**
 * Block Editor - Republicize feature.
 *
 * @package automattic/jetpack
 **/

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

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

Directory Contents

Dirs: 0 × Files: 1

Name Size Perms Modified Actions
511 B lrw-r--r-- 2023-04-04 05:35:20
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).