📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 20:57:11
📂
/ (Root)
/
home
/
apkbfjox
/
shamapk.com
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
schema-aggregator
/
infrastructure
📍 /home/apkbfjox/shamapk.com/wp-content/plugins/wordpress-seo/src/schema-aggregator/infrastructure
🔄 Refresh
✏️
Editing: schema-aggregator-conditional.php
Writable
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. namespace Yoast\WP\SEO\Schema_Aggregator\Infrastructure; use Yoast\WP\SEO\Conditionals\Conditional; use Yoast\WP\SEO\Helpers\Options_Helper; /** * Conditional for the Schema aggregator feature. */ class Schema_Aggregator_Conditional implements Conditional { /** * The options helper. * * @var Options_Helper */ private $options; /** * The constructor. * * @param Options_Helper $options The options helper. */ public function __construct( Options_Helper $options ) { $this->options = $options; } /** * Returns `true` when the Schema aggregator feature is enabled. * * @return bool `true` when the Schema aggregator feature is enabled. */ public function is_met(): bool { return $this->options->get( 'enable_schema_aggregation_endpoint' ) === true; } }
💾 Save Changes
❌ Cancel