Yoast\WP\SEO\Conditionals\Third_Party

Wordproof_Plugin_Inactive_Conditional{}Yoast 1.0

Conditional that is met when the WordProof Timestamp plugin is inactive.

Хуков нет.

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

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

Методы

  1. public is_met()

Код Wordproof_Plugin_Inactive_Conditional{} Yoast 19.5.1

class Wordproof_Plugin_Inactive_Conditional implements Conditional {

	/**
	 * Returns whether or not the WordProof Timestamp plugin is active.
	 *
	 * @return bool Whether or not the WordProof Timestamp plugin is active.
	 */
	public function is_met() {
		return ! \defined( 'WORDPROOF_VERSION' );
	}
}