WC_Settings_Advanced::notices
Notices.
Method of the class: WC_Settings_Advanced{}
No Hooks.
Returns
null. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->notices();
WC_Settings_Advanced::notices() WC Settings Advanced::notices code WC 10.6.2
private function notices() {
// phpcs:disable WordPress.Security.NonceVerification.Recommended
if ( isset( $_GET['section'] ) && 'webhooks' === $_GET['section'] ) {
WC_Admin_Webhooks::notices();
}
if ( isset( $_GET['section'] ) && 'keys' === $_GET['section'] ) {
WC_Admin_API_Keys::notices();
}
// phpcs:enable
}