WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
функция не описана

WPSEO_Config_Field_Environment::__construct() public Yoast 1.0

WPSEO_Config_Field_Environment constructor.

{} Это метод класса: WPSEO_Config_Field_Environment{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$WPSEO_Config_Field_Environment = new WPSEO_Config_Field_Environment();
$WPSEO_Config_Field_Environment->__construct();

Код WPSEO_Config_Field_Environment::__construct() Yoast 15.2

<?php
public function __construct() {
	parent::__construct( 'environment_type' );

	$this->set_property( 'label', __( 'Please specify if your site is under construction or already active.', 'wordpress-seo' ) );

	$this->set_property( 'description', __( 'Choose under construction if you want to keep the site out of the index of search engines. Don\'t forget to activate it once you\'re ready to publish your site.', 'wordpress-seo' ) );

	$this->add_choice( 'production', __( 'Option A: My site is live and ready to be indexed', 'wordpress-seo' ) );
	$this->add_choice( 'staging', __( 'Option B: My site is under construction and should not be indexed', 'wordpress-seo' ) );
}