PATH:
home
/
letacommog
/
ldqm1
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
conditionals
<?php namespace Yoast\WP\SEO\Conditionals; use Yoast\WP\SEO\Helpers\Options_Helper; /** * Conditional that is only met when breadcrumbs are enabled. */ class Breadcrumbs_Enabled_Conditional implements Conditional { /** * The options helper. * * @var Options_Helper */ private $options; /** * Breadcrumbs_Enabled_Conditional constructor. * * @param Options_Helper $options The options helper. * * @codeCoverageIgnore */ public function __construct( Options_Helper $options ) { $this->options = $options; } /** * Checks whether the breadcrumbs enabled option has been set. * * @return boolean Whether or not the breadcrumbs enabled option has been set. */ public function is_met() { return $this->options->get( 'breadcrumbs-enable' ); } }
[+]
..
[+]
third-party
[-] get-request-conditional.php
[edit]
[-] migrations-conditional.php
[edit]
[-] the-events-calendar-conditional.php
[edit]
[+]
admin
[-] web-stories-conditional.php
[edit]
[-] semrush-enabled-conditional.php
[edit]
[-] breadcrumbs-enabled-conditional.php
[edit]
[-] woocommerce-conditional.php
[edit]
[-] feature-flag-conditional.php
[edit]
[-] should-index-links-conditional.php
[edit]
[-] conditional-interface.php
[edit]
[-] development-conditional.php
[edit]
[-] no-tool-selected-conditional.php
[edit]
[-] jetpack-conditional.php
[edit]
[-] headless-rest-endpoints-enabled-conditional.php
[edit]
[-] xmlrpc-conditional.php
[edit]
[-] admin-conditional.php
[edit]
[-] wpml-conditional.php
[edit]
[-] yoast-admin-and-dashboard-conditional.php
[edit]
[-] primary-category-conditional.php
[edit]
[-] front-end-conditional.php
[edit]
[-] open-graph-conditional.php
[edit]
[-] yoast-tools-page-conditional.php
[edit]
[-] no-conditionals-trait.php
[edit]