Automattic\WooCommerce\Admin\Notes
Notes::get_notes_count
Get the total number of notes
Method of the class: Notes{}
No Hooks.
Returns
Int.
Usage
$result = Notes::get_notes_count( $type, $status );
- $type(string)
- Comma separated list of note types.
Default:array() - $status(string)
- Comma separated list of statuses.
Default:array()
Notes::get_notes_count() Notes::get notes count code WC 10.6.2
public static function get_notes_count( $type = array(), $status = array() ) {
$data_store = self::load_data_store();
return $data_store->get_notes_count( $type, $status );
}