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

WPSEO_Configuration_Structure::initialize() public Yoast 1.0

WPSEO_Configuration_Structure constructor.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$WPSEO_Configuration_Structure = new WPSEO_Configuration_Structure();
$WPSEO_Configuration_Structure->initialize();

Код WPSEO_Configuration_Structure::initialize() Yoast 15.1.1

<?php
public function initialize() {
	$this->add_step( 'environment-type', __( 'Environment', 'wordpress-seo' ), $this->fields['environment_type'] );
	$this->add_step( 'site-type', __( 'Site type', 'wordpress-seo' ), $this->fields['siteType'] );
	$this->add_step(
		'publishing-entity',
		__( 'Organization or person', 'wordpress-seo' ),
		$this->fields['publishingEntity']
	);

	$fields = [ 'postTypeVisibility' ];

	$post_type_factory = new WPSEO_Config_Factory_Post_Type();
	foreach ( $post_type_factory->get_fields() as $post_type_field ) {
		$fields[] = $post_type_field->get_identifier();
	}
	$this->add_step( 'post-type-visibility', __( 'Search engine visibility', 'wordpress-seo' ), $fields );

	$this->add_step(
		'multiple-authors',
		__( 'Multiple authors', 'wordpress-seo' ),
		$this->fields['multipleAuthors']
	);

	$this->add_step( 'title-template', __( 'Title settings', 'wordpress-seo' ), $this->fields['titleTemplate'] );
	/* translators: %s expands to Yoast SEO */
	$this->add_step( 'tracking', sprintf( __( 'Help us improve %s', 'wordpress-seo' ), 'Yoast SEO' ), $this->fields['tracking'] );
	$this->add_step( 'newsletter', __( 'Continue learning', 'wordpress-seo' ), $this->fields['newsletter'], true, true );
	$this->add_step( 'success', __( 'Success!', 'wordpress-seo' ), $this->fields['success'], true, true );
}