Tribe__Admin__Notices::remove( string $slug )

Removes a notice based on its slug.


Parameters

$slug

(string) (Required)


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/Admin/Notices.php

	public function remove( $slug ) {
		if ( ! $this->exists( $slug ) ) {
			return false;
		}

		unset( $this->notices[ $slug ] );
		return true;
	}

Top ↑

Changelog

Changelog
Version Description
4.3 Introduced.