Yoast\WP\SEO\Actions\Importing\Aioseo
Abstract_Aioseo_Settings_Importing_Action::import_noindex()
Imports the noindex setting, taking into consideration whether they defer to global defaults.
Метод класса: Abstract_Aioseo_Settings_Importing_Action{}
Хуков нет.
Возвращает
true|false
. The noindex setting.
Использование
$Abstract_Aioseo_Settings_Importing_Action = new Abstract_Aioseo_Settings_Importing_Action(); $Abstract_Aioseo_Settings_Importing_Action->import_noindex( $noindex, $mapping );
- $noindex(true|false) (обязательный)
- The noindex of the type, without taking into consideration whether the type defers to global defaults.
- $mapping(массив) (обязательный)
- The mapping of the setting we're working with.
Код Abstract_Aioseo_Settings_Importing_Action::import_noindex() Abstract Aioseo Settings Importing Action::import noindex Yoast 22.4
public function import_noindex( $noindex, $mapping ) { return $this->robots_transformer->transform_robot_setting( 'noindex', $noindex, $mapping ); }