Tribe__Customizer__Section::filter_css_template( $template )

Filter the content headings arguments


Parameters

$arguments

(<span class="array">array) (Required) The list of arguments for headings and separators.


Top ↑

Return

(array<string,mixed>) $arguments The filtered array of arguments.


Top ↑

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;
	}

Top ↑

Changelog

Changelog
Version Description
4.13.3 Introduced.