Automattic\WooCommerce\Admin\Notes
Note::get_allowed_types()
Get allowed types.
Method of the class: Note{}
Hooks from the method
Return
Array
.
Usage
$result = Note::get_allowed_types();
Note::get_allowed_types() Note::get allowed types code WC 9.7.1
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 ); }