Automattic\WooCommerce\Internal\Admin\Notes
UnsecuredReportFiles::note_exists()
Check if the note has been previously added.
Метод класса: UnsecuredReportFiles{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = UnsecuredReportFiles::note_exists();
Код UnsecuredReportFiles::note_exists() UnsecuredReportFiles::note exists WC 9.2.3
public static function note_exists() { $data_store = \WC_Data_Store::load( 'admin-note' ); $note_ids = $data_store->get_notes_with_name( self::NOTE_NAME ); return ! empty( $note_ids ); }