Yoast\WP\SEO\Llms_Txt\User_Interface
Cleanup_Llms_Txt_On_Deactivation::maybe_remove_llms_file
Call the command handler to remove the file.
Метод класса: Cleanup_Llms_Txt_On_Deactivation{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$Cleanup_Llms_Txt_On_Deactivation = new Cleanup_Llms_Txt_On_Deactivation(); $Cleanup_Llms_Txt_On_Deactivation->maybe_remove_llms_file(): void;
Код Cleanup_Llms_Txt_On_Deactivation::maybe_remove_llms_file() Cleanup Llms Txt On Deactivation::maybe remove llms file Yoast 28.7
public function maybe_remove_llms_file(): void {
$this->command_handler->handle();
$this->cron_scheduler->unschedule_llms_txt_population();
}