Yoast\WP\SEO\Conditionals\Third_Party

Elementor_Activated_Conditional{}Yoast 1.0

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

Хуков нет.

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

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

Методы

  1. public is_met()

Код Elementor_Activated_Conditional{} Yoast 22.4

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__' );
	}
}