Yoast\WP\SEO\Conditionals\Third_Party
Wordproof_Plugin_Inactive_Conditional{}
Conditional that is met when the WordProof Timestamp plugin is inactive.
Хуков нет.
Использование
$Wordproof_Plugin_Inactive_Conditional = new Wordproof_Plugin_Inactive_Conditional(); // use class methods
Методы
- public is_met()
Код Wordproof_Plugin_Inactive_Conditional{} Wordproof Plugin Inactive Conditional{} Yoast 20.4
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' ); } }