Yoast\WP\SEO\Plans\Application

Duplicate_Post_Manager::get_paramspublicYoast 1.0

Gets the duplicate post plans page params

Метод класса: Duplicate_Post_Manager{}

Хуков нет.

Возвращает

Массив<Строку|true|false>. The list of params.

Использование

$Duplicate_Post_Manager = new Duplicate_Post_Manager();
$Duplicate_Post_Manager->get_params();

Код Duplicate_Post_Manager::get_params() Yoast 27.7

public function get_params() {
	return [
		'isInstalled'     => $this->is_installed(),
		'isActivated'     => $this->is_activated(),
		'installationUrl' => \html_entity_decode( WPSEO_Admin_Utils::get_install_url( self::PLUGIN_FILE ) ),
		'activationUrl'   => \html_entity_decode( WPSEO_Admin_Utils::get_activation_url( self::PLUGIN_FILE ) ),
	];
}