Tribe__Image__Plus__Main::admin_template( string $template )
Loads admin views, which aren’t “overrideable”, so no hierarchy.
Topics
Parameters #
- $template
-
(string) (Required) Template file to search for.
Return #
(template) path
Source #
File: src/Tribe/Main.php
public function admin_template( $template ) { // Whether or not .php was added. $template_slug = rtrim( $template, '.php' ); $template = $template_slug . '.php'; return "{$this->plugin_path}src/admin-views/{$template}"; }