WC_Settings_Advanced::notices()privateWC 1.0

Notices.

Method of the class: WC_Settings_Advanced{}

No Hooks.

Return

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->notices();

WC_Settings_Advanced::notices() code WC 8.7.0

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
}