WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

Note::get_allowed_types() public WC 1.0

Get allowed types.

{} It's a method of the class: Note{}

Hooks from the method
Return

Array. Nothing.

Usage

$result = Note::get_allowed_types();

Code of Note::get_allowed_types() WC 5.3.0

<?php
public static function get_allowed_types() {
	$allowed_types = array(
		self::E_WC_ADMIN_NOTE_ERROR,
		self::E_WC_ADMIN_NOTE_WARNING,
		self::E_WC_ADMIN_NOTE_UPDATE,
		self::E_WC_ADMIN_NOTE_INFORMATIONAL,
		self::E_WC_ADMIN_NOTE_MARKETING,
		self::E_WC_ADMIN_NOTE_SURVEY,
		self::E_WC_ADMIN_NOTE_EMAIL,
	);

	return apply_filters( 'woocommerce_note_types', $allowed_types );
}