WC_Admin_Notices::template_file_check_notice │ public static │ WC 1.0

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 11.3.0

public static function template_file_check_notice() {
	self::remove_notice( 'template_files' );
}