Template::get_base_template_file()
Returns the absolute path to the view base template file.
Return
(string) The absolute path to the Views base template.
Source
File: src/Tribe/Views/V2/Template.php
public function get_base_template_file() {
// Print the lookup folders as relative paths.
$this->set( 'lookup_folders', array_map( function ( array $folder ) {
$folder['path'] = str_replace( WP_CONTENT_DIR, '', $folder['path'] );
return $folder;
}, $this->get_template_path_list() ) );
return parent::get_template_file( 'base' );
}
Changelog
| Version | Description |
|---|---|
| 4.9.2 | Introduced. |