WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
класс не описан

Yoast\WP\SEO\Conditionals\Third_Party

Elementor_Activated_Conditional{} Yoast 1.0

Conditional that is met when the Elementor plugin is installed and activated.

Хуков нет.

Возвращает

Null. Ничего.

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

$Elementor_Activated_Conditional = new Elementor_Activated_Conditional();
// use class methods

Методы

  1. is_met()

Код Elementor_Activated_Conditional{} Yoast 15.6.2

<?php
class Elementor_Activated_Conditional implements Conditional {

	/**
	 * Checks if the Elementor plugins is installed and activated.
	 *
	 * @return bool `true` when the Elementor plugin is installed and activated.
	 */
	public function is_met() {
		return \defined( 'ELEMENTOR__FILE__' );
	}
}