WC_Admin_Note
extends DeprecatedClassFacade
in package
WC_Admin_Note.
Tags
Table of Contents
- E_WC_ADMIN_NOTE_ACTIONED = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_ACTIONED
- E_WC_ADMIN_NOTE_EMAIL = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_EMAIL
- E_WC_ADMIN_NOTE_ERROR = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_ERROR
- E_WC_ADMIN_NOTE_INFORMATIONAL = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_INFORMATIONAL
- E_WC_ADMIN_NOTE_MARKETING = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_MARKETING
- E_WC_ADMIN_NOTE_PENDING = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_PENDING
- E_WC_ADMIN_NOTE_SNOOZED = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_SNOOZED
- E_WC_ADMIN_NOTE_SURVEY = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_SURVEY
- E_WC_ADMIN_NOTE_UNACTIONED = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_UNACTIONED
- E_WC_ADMIN_NOTE_UPDATE = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_UPDATE
- E_WC_ADMIN_NOTE_WARNING = AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_WARNING
- $deprecated_in_version : string
- The version that this class was deprecated in.
- $facade_over_classname : string
- The name of the non-deprecated class that this facade covers.
- $instance : object
- The instance that this facade covers over.
- $logged_messages : array<string|int, mixed>
- Static array of logged messages.
- __call() : mixed
- Executes when calling any function on an instance of this class.
- __callStatic() : mixed
- Executes when calling any static function on this class.
- __construct() : mixed
- Note constructor. Loads note data.
- log_deprecation() : mixed
- Log a deprecation to the error log.
Constants
E_WC_ADMIN_NOTE_ACTIONED
public
mixed
E_WC_ADMIN_NOTE_ACTIONED
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_ACTIONED
E_WC_ADMIN_NOTE_EMAIL
public
mixed
E_WC_ADMIN_NOTE_EMAIL
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_EMAIL
E_WC_ADMIN_NOTE_ERROR
public
mixed
E_WC_ADMIN_NOTE_ERROR
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_ERROR
E_WC_ADMIN_NOTE_INFORMATIONAL
public
mixed
E_WC_ADMIN_NOTE_INFORMATIONAL
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_INFORMATIONAL
E_WC_ADMIN_NOTE_MARKETING
public
mixed
E_WC_ADMIN_NOTE_MARKETING
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_MARKETING
E_WC_ADMIN_NOTE_PENDING
public
mixed
E_WC_ADMIN_NOTE_PENDING
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_PENDING
E_WC_ADMIN_NOTE_SNOOZED
public
mixed
E_WC_ADMIN_NOTE_SNOOZED
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_SNOOZED
E_WC_ADMIN_NOTE_SURVEY
public
mixed
E_WC_ADMIN_NOTE_SURVEY
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_SURVEY
E_WC_ADMIN_NOTE_UNACTIONED
public
mixed
E_WC_ADMIN_NOTE_UNACTIONED
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_UNACTIONED
E_WC_ADMIN_NOTE_UPDATE
public
mixed
E_WC_ADMIN_NOTE_UPDATE
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_UPDATE
E_WC_ADMIN_NOTE_WARNING
public
mixed
E_WC_ADMIN_NOTE_WARNING
= AutomatticWooCommerceAdminNotesNote::E_WC_ADMIN_NOTE_WARNING
Properties
$deprecated_in_version
The version that this class was deprecated in.
protected
static string
$deprecated_in_version
= '4.8.0'
$facade_over_classname
The name of the non-deprecated class that this facade covers.
protected
static string
$facade_over_classname
= 'Automattic\WooCommerce\Admin\Notes\Note'
$instance
The instance that this facade covers over.
protected
object
$instance
$logged_messages
Static array of logged messages.
private
static array<string|int, mixed>
$logged_messages
= array()
Methods
__call()
Executes when calling any function on an instance of this class.
public
__call(string $name, array<string|int, mixed> $arguments) : mixed
Parameters
- $name : string
-
The name of the function being called.
- $arguments : array<string|int, mixed>
-
An array of the arguments to the function call.
Return values
mixed —__callStatic()
Executes when calling any static function on this class.
public
static __callStatic(string $name, array<string|int, mixed> $arguments) : mixed
Parameters
- $name : string
-
The name of the function being called.
- $arguments : array<string|int, mixed>
-
An array of the arguments to the function call.
Return values
mixed —__construct()
Note constructor. Loads note data.
public
__construct([mixed $data = '' ]) : mixed
Parameters
- $data : mixed = ''
-
Note data, object, or ID.
Return values
mixed —log_deprecation()
Log a deprecation to the error log.
private
static log_deprecation(string $function) : mixed
Parameters
- $function : string
-
The name of the deprecated function being called.