Tribe__Customizer__Section::filter_content_headings( array $arguments )

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_content_headings( $arguments ) {
		/**
		 * Applies a filter to the validation map for headings.
		 *
		 * @since 4.13.3
		 *
		 * @param array<string,callable> $arguments Current set of callbacks for arguments.
		 * @param static				 $instance  The section instance we are dealing with.
		 */
		$arguments = apply_filters( 'tribe_customizer_section_content_headings', $arguments, $this );

		$section_slug = static::get_section_slug( get_class( $this ) );

		/**
		 * Applies a filter to the validation map for headings for a specific section. Based on the section slug.
		 *
		 * @since 4.13.3
		 *
		 * @param array<string,callable> $arguments Current set of callbacks for arguments.
		 * @param static				 $instance  The section instance we are dealing with.
		 */
		return apply_filters( "tribe_customizer_section_{$section_slug}_content_headings", $arguments, $this );
	}

Top ↑

Changelog

Changelog
Version Description
4.13.3 Introduced.