| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\Presenters\Webmaster; |
| 4 |
|
| 5 |
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter; |
| 6 |
|
| 7 |
/** |
| 8 |
* Presenter class for the Ahrefs verification setting. |
| 9 |
*/ |
| 10 |
class Ahrefs_Presenter extends Abstract_Indexable_Tag_Presenter { |
| 11 |
|
| 12 |
/** |
| 13 |
* The tag key name. |
| 14 |
* |
| 15 |
* @var string |
| 16 |
*/ |
| 17 |
protected $key = 'ahrefs-site-verification'; |
| 18 |
|
| 19 |
/** |
| 20 |
* Retrieves the Ahrefs site verification value from the settings. |
| 21 |
* |
| 22 |
* @return string The Ahrefs site verification value. |
| 23 |
*/ |
| 24 |
public function get() { |
| 25 |
return $this->helpers->options->get( 'ahrefsverify', '' ); |
| 26 |
} |
| 27 |
} |
| 28 |
|