✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.191
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/ext-opcache/views//class-yoast-feature-toggle.php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 */

/**
 * Class representing a feature toggle.
 */
class Yoast_Feature_Toggle {

	/**
	 * Feature toggle identifier.
	 *
	 * @var string
	 */
	protected $name = '';

	/**
	 * Name of the setting the feature toggle is associated with.
	 *
	 * @var string
	 */
	protected $setting = '';

	/**
	 * Whether the feature is premium or not.
	 *
	 * @var bool
	 */
	protected $premium = false;

	/**
	 * Whether the feature is in beta or not.
	 *
	 * @var bool
	 */
	protected $in_beta = false;

	/**
	 * The Premium version in which this feature has been added.
	 *
	 * @var string
	 */
	protected $premium_version = '';

	/**
	 * The languages in which this feature is supported.
	 * E.g. for language specific analysis support.
	 *
	 * If empty, the feature is considered to have support in all languages.
	 *
	 * @var string[]
	 */
	protected $supported_languages = [];

	/**
	 * Feature toggle label.
	 *
	 * @var string
	 */
	protected $label = '';

	/**
	 * URL to learn more about the feature.
	 *
	 * @var string
	 */
	protected $read_more_url = '';

	/**
	 * URL to learn more about the premium feature.
	 *
	 * @var string
	 */
	protected $premium_url = '';

	/**
	 * URL to buy premium.
	 *
	 * @var string
	 */
	protected $premium_upsell_url = '';

	/**
	 * Label for the learn more link.
	 *
	 * @var string
	 */
	protected $read_more_label = '';

	/**
	 * Additional help content for the feature.
	 *
	 * @var string
	 */
	protected $extra = '';

	/**
	 * Additional content to be rendered after the toggle.
	 *
	 * @var string
	 */
	protected $after = '';

	/**
	 * Value to specify the feature toggle order.
	 *
	 * @var int
	 */
	protected $order = 100;

	/**
	 * Disable the integration toggle.
	 *
	 * @var bool
	 */
	protected $disabled = false;

	/**
	 * Whether the feature is new or not.
	 *
	 * @var bool
	 */
	protected $new = false;

	/**
	 * Constructor.
	 *
	 * Sets the feature toggle arguments.
	 *
	 * @param array $args {
	 *     Feature toggle arguments.
	 *
	 *     @type string $name                Required. Feature toggle identifier.
	 *     @type string $setting             Required. Name of the setting the feature toggle is associated with.
	 *     @type string $disabled            Whether the feature is premium or not.
	 *     @type string $label               Feature toggle label.
	 *     @type string $read_more_url       URL to learn more about the feature. Default empty string.
	 *     @type string $premium_upsell_url  URL to buy premium. Default empty string.
	 *     @type string $read_more_label     Label for the learn more link. Default empty string.
	 *     @type string $extra               Additional help content for the feature. Default empty string.
	 *     @type int    $order               Value to specify the feature toggle order. A lower value indicates
	 *                                       a higher priority. Default 100.
	 *     @type bool   $disabled            Disable the integration toggle. Default false.
	 *     @type string $new                 Whether the feature is new or not.
	 *     @type bool   $in_beta             Whether the feature is in beta or not.
	 *     @type array  $supported_languages The languages that this feature supports.
	 *     @type string $premium_version     The Premium version in which this feature was added.
	 * }
	 *
	 * @throws InvalidArgumentException Thrown when a required argument is missing.
	 */
	public function __construct( array $args ) {
		$required_keys = [ 'name', 'setting' ];

		foreach ( $required_keys as $key ) {
			if ( empty( $args[ $key ] ) ) {
				/* translators: %s: argument name */
				throw new InvalidArgumentException( sprintf( __( '%s is a required feature toggle argument.', 'wordpress-seo' ), $key ) );
			}
		}

		foreach ( $args as $key => $value ) {
			if ( property_exists( $this, $key ) ) {
				$this->$key = $value;
			}
		}
	}

	/**
	 * Magic isset-er.
	 *
	 * @param string $key Key to check whether a value for it is set.
	 *
	 * @return bool True if set, false otherwise.
	 */
	public function __isset( $key ) {
		return isset( $this->$key );
	}

	/**
	 * Magic getter.
	 *
	 * @param string $key Key to get the value for.
	 *
	 * @return mixed Value for the key, or null if not set.
	 */
	public function __get( $key ) {
		if ( isset( $this->$key ) ) {
			return $this->$key;
		}

		return null;
	}

	/**
	 * Checks whether the feature for this toggle is enabled.
	 *
	 * @return bool True if the feature is enabled, false otherwise.
	 */
	public function is_enabled() {
		return (bool) WPSEO_Options::get( $this->setting );
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
24 Sep 2026 6.26 PM
docteuh / users
0755
06
--
15 Sep 2026 8.47 AM
docteuh / users
0755
Authentication
--
13 Sep 2026 5.22 AM
docteuh / users
0755
apiclient
--
10 Sep 2026 11.42 AM
docteuh / users
0755
form
--
18 Sep 2026 7.15 PM
docteuh / users
0755
indexables-disabled
--
24 Sep 2026 11.51 AM
docteuh / users
0755
languages
--
8 Sep 2026 5.21 AM
docteuh / users
0755
licensing
--
10 Sep 2026 2.06 PM
docteuh / users
0755
src
--
22 Sep 2026 1.02 PM
docteuh / users
0755
tabs
--
8 Sep 2026 5.21 AM
docteuh / users
0755
user-interface
--
20 Sep 2026 1.58 PM
docteuh / users
0755
views
--
8 Sep 2026 5.21 AM
docteuh / users
0755
admin.php
0 KB
2 Sep 2026 3.33 AM
docteuh / users
0644
class-yoast-feature-toggle.php
4.531 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-feature-toggles.php
12.218 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-input-select.php
2.911 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
class-yoast-integration-toggles.php
4.307 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
interface-yoast-form-element.php
0.245 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
js-templates-primary-term.php
1.337 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
paper-collapsible.php
3.021 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
partial-notifications-errors.php
1.128 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
partial-notifications-template.php
3.903 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
partial-notifications-warnings.php
1.064 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
plugins.php
0.243 KB
6 Feb 2020 7.33 AM
docteuh / users
0644
redirects.php
0.238 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
tool-bulk-editor.php
3.135 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
tool-file-editor.php
6.753 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
upgrade-functions.php
0.333 KB
6 Feb 2020 7.33 AM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF