WC_Admin_Notices::template_file_check_notice
Previously showed a notice highlighting bad template files.
Template override status is now shown in Site Health.
Метод класса: WC_Admin_Notices{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$result = WC_Admin_Notices::template_file_check_notice();
Код WC_Admin_Notices::template_file_check_notice() WC Admin Notices::template file check notice WC 11.3.0
public static function template_file_check_notice() {
self::remove_notice( 'template_files' );
}