Rest_Api::should_display()

Checks if we are in a TEC page or in the main Dashboard.


Return

(bool)


Top ↑

Source

File: src/Events/Admin/Notice/Rest_Api.php

	public function should_display(): bool {
		if ( ! tribe( 'admin.helpers' )->is_screen() ) {
			return false;
		}

		return $this->is_rest_api_blocked();
	}

Top ↑

Changelog

Changelog
Version Description
6.5.0 Introduced.