Hooks::filter_global_elements_css_template( string $css_template, Tribe__Customizer__Section $section, Tribe__Customizer $customizer )
Filters the Global Elements section CSS template to add Views v2 related style templates to it.
Contents
Parameters
- $css_template
-
(string) (Required) The CSS template, as produced by the Global Elements.
- $section
-
(Tribe__Customizer__Section) (Required) The Global Elements section.
- $customizer
-
(Tribe__Customizer) (Required) The current Customizer instance.
Return
(string) The filtered CSS template.
Source
File: src/Tribe/Views/V2_1/Hooks.php
public function filter_global_elements_css_template( $css_template, $section, $customizer ) { _deprecated_function( __METHOD__, '5.2.0' ); if ( ! ( is_string( $css_template ) && $section instanceof Customizer_Section && $customizer instanceof \Tribe__Customizer ) ) { return $css_template; } return $this->container->make( Customizer::class )->filter_global_elements_css_template( $css_template, $section, $customizer ); }
Changelog
Version | Description |
---|---|
5.0.3 | Introduced. |