Server IP : 104.21.14.103 / Your IP : 3.145.106.127 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/cwd/wp-content/plugins/wordpress-seo/inc/ |
Upload File : |
<?php /** * WPSEO plugin file. * * @package WPSEO\Internals * @since 7.7 */ /** * Class WPSEO_Replacement_Variable. * * This class stores the data of a single snippet variable. */ class WPSEO_Replacement_Variable { /** * The variable to use. * * @var string */ protected $variable; /** * The label of the replacement variable. * * @var string */ protected $label; /** * The description of the replacement variable. * * @var string */ protected $description; /** * WPSEO_Replacement_Variable constructor. * * @param string $variable The variable that is replaced. * @param string $label The label of the replacement variable. * @param string $description The description of the replacement variable. * * @return \WPSEO_Replacement_Variable */ public function __construct( $variable, $label, $description ) { $this->variable = $variable; $this->label = $label; $this->description = $description; } /** * Returns the variable to use. * * @return string */ public function get_variable() { return $this->variable; } /** * Returns the label of the replacement variable. * * @return string */ public function get_label() { return $this->label; } /** * Returns the description of the replacement variable. * * @return string */ public function get_description() { return $this->description; } }