👁 查看:news-conditional.php
路径:/home/forge/kingkrunch.com/wp/wp-content/plugins/wordpress-seo/src/conditionals/news-conditional.php
大小:360 B · 修改:2026-09-30 01:49:02 · 权限:0644 · 可写
<?php
namespace Yoast\WP\SEO\Conditionals;
/**
* Conditional that is only met when news SEO is activated.
*/
class News_Conditional implements Conditional {
/**
* Returns whether or not this conditional is met.
*
* @return bool Whether or not the conditional is met.
*/
public function is_met() {
return \defined( 'WPSEO_NEWS_VERSION' );
}
}