Yoast\WP\SEO\Actions\Importing\Aioseo
Aioseo_Validate_Data_Action::validate_robot_settings()
Validates the AIOSEO robots settings from the options table.
Метод класса: Aioseo_Validate_Data_Action{}
Хуков нет.
Возвращает
true|false
. Whether the AIOSEO robots settings from the options table exist and have the structure we expect.
Использование
$Aioseo_Validate_Data_Action = new Aioseo_Validate_Data_Action(); $Aioseo_Validate_Data_Action->validate_robot_settings();
Код Aioseo_Validate_Data_Action::validate_robot_settings() Aioseo Validate Data Action::validate robot settings Yoast 24.0
public function validate_robot_settings() { if ( $this->validate_post_robot_settings() && $this->validate_default_robot_settings() ) { return true; } return false; }