Yoast\WP\SEO\Conditionals\Third_Party

Wordproof_Plugin_Inactive_Conditional{}Yoast 1.0

Устарела с версии 22.10. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

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()

Список изменений

Устарела с 22.10

Код Wordproof_Plugin_Inactive_Conditional{} Yoast 24.6

class Wordproof_Plugin_Inactive_Conditional implements Conditional {

	/**
	 * Returns whether or not the WordProof Timestamp plugin is active.
	 *
	 * @deprecated 22.10
	 * @codeCoverageIgnore
	 *
	 * @return bool Whether or not the WordProof Timestamp plugin is active.
	 */
	public function is_met() {
		\_deprecated_function( __METHOD__, 'Yoast SEO 22.10' );

		return ! \defined( 'WORDPROOF_VERSION' );
	}
}