Amp_Admin_Notices::add_notice( string $notice )

Summary

Adds a notice to the instance’s notices.


Parameters

$notice

(string) (Required) Notice text.


Source

File: src/BigCommerce/Amp/Amp_Admin_Notices.php

	public function add_notice( $notice ) {
		if ( ! in_array( $notice, $this->notices, true ) ) {
			$this->notices[] = $notice;
		}
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.