elementor_theme_do_location( string $template )
If this function is defined, then Hello Elementor will call it to allow filtering the template location.
Contents
This function works a bit like the do_parse_request
filter in WordPress Core: it allows our code to either take charge of handling the template discovery or let Elementor go through its own resolution.
Parameters
- $template
-
(string) (Required) The template that Elementor is currently filtering; e.g.
single
orarchive
.
Return
(bool) Whether the template was correctly handled or not.
Source
File: src/Tribe/Integrations/Hello_Elementor/hello-elementor-functions.php
function elementor_theme_do_location( $template ) { return tribe( Templates::class )->theme_do_location( $template ); }
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |