Page::inject_manager_link()

Outputs the template that renders the manager link and relocates it to the correct location.

Contents


Source

File: src/Tribe/Admin/Manager/Page.php

	public function inject_manager_link() {
		$helper = \Tribe__Admin__Helpers::instance();

		// Are we on a post type screen?
		$is_post_type = $helper->is_post_type_screen( TEC::POSTTYPE );

		if ( ! $is_post_type ) {
			return;
		}

		$this->get_template()->template( 'manager/manager-link', [ 'manager_link' => $this->get_link_html() ] );
	}

Top ↑

Changelog

Changelog
Version Description
5.9.0 Introduced.