PATH:
home
/
letacommog
/
rachat-or-bourgenbresse
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
conditionals
<?php namespace Yoast\WP\SEO\Conditionals; /** * Abstract class for creating conditionals based on feature flags. */ abstract class Feature_Flag_Conditional implements Conditional { /** * Returns whether or not this conditional is met. * * @return boolean Whether or not the conditional is met. */ public function is_met() { $feature_flag = \strtoupper( $this->get_feature_flag() ); return \defined( 'YOAST_SEO_' . $feature_flag ) && \constant( 'YOAST_SEO_' . $feature_flag ) === true; } /** * Returns the name of the feature flag. * 'YOAST_SEO_' is automatically prepended to it and it will be uppercased. * * @return string the name of the feature flag. */ abstract protected function get_feature_flag(); }
[+]
..
[+]
admin
[-] should-index-links-conditional.php
[edit]
[-] conditional-interface.php
[edit]
[-] admin-conditional.php
[edit]
[-] feature-flag-conditional.php
[edit]
[-] headless-rest-endpoints-enabled-conditional.php
[edit]
[-] front-end-conditional.php
[edit]
[-] wpml-conditional.php
[edit]
[-] yoast-admin-and-dashboard-conditional.php
[edit]
[-] jetpack-conditional.php
[edit]
[-] no-conditionals-trait.php
[edit]
[-] development-conditional.php
[edit]
[-] migrations-conditional.php
[edit]
[-] woocommerce-conditional.php
[edit]
[-] .htaccess
[edit]
[-] open-graph-conditional.php
[edit]
[-] xmlrpc-conditional.php
[edit]
[-] web-stories-conditional.php
[edit]
[-] primary-category-conditional.php
[edit]
[-] get-request-conditional.php
[edit]
[-] breadcrumbs-enabled-conditional.php
[edit]
[-] yoast-tools-page-conditional.php
[edit]