Tribe__Customizer__Section::filter_css_template( $template )
Filter the content headings arguments
Contents
Parameters
- $arguments
-
(<span class="array">array) (Required) The list of arguments for headings and separators.
Return
(array<string,mixed>) $arguments The filtered array of arguments.
Source
File: src/Tribe/Customizer/Section.php
public function filter_css_template( $template ) { /** * Applies a filter to the css output. * Note this is appended to the output - so it's not inside any selectors! * * @since 4.13.3 * * @param array<string,callable> $template Current set of callbacks for css output. * @param static $instance The section instance we are dealing with. */ $template = apply_filters( 'tribe_customizer_section_css_template', $template, $this ); $section_slug = static::get_section_slug( get_class( $this ) ); /** * Applies a filter to the css output for a specific section. Based on the section slug. * Note this is appended to the output - so it's not inside any selectors! * * @since 4.13.3 * * @param array<string,callable> $template Current set of callbacks for css output. * @param static $instance The section instance we are dealing with. */ $template = apply_filters( "tribe_customizer_section_{$section_slug}_css_template", $template, $this ); return $template; }
Changelog
Version | Description |
---|---|
4.13.3 | Introduced. |