Automattic\WooCommerce\Admin\Notes
WC_Admin_Note::__construct
Note constructor. Loads note data.
Method of the class: WC_Admin_Note{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Admin_Note = new WC_Admin_Note(); $WC_Admin_Note->__construct( $data );
- $data(mixed)
- Note data, object, or ID.
Default:''
WC_Admin_Note::__construct() WC Admin Note:: construct code WC 10.5.0
public function __construct( $data = '' ) {
$this->instance = new static::$facade_over_classname( $data );
}