Yoast\WP\SEO\Conditionals\Third_Party

CoAuthors_Plus_Activated_Conditional{}Yoast 1.0

Conditional that is met when the CoAuthors Plus plugin is installed and activated.

Хуков нет.

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

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

Методы

  1. public is_met()

Код CoAuthors_Plus_Activated_Conditional{} Yoast 19.2

class CoAuthors_Plus_Activated_Conditional implements Conditional {

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