Tribe__Customizer__Section::filter_arguments( $arguments )
Filter section arguments.
Return
(void)
Source
File: src/Tribe/Customizer/Section.php
public function filter_arguments( $arguments ) {
/**
* Applies a filter to the argument map for settings.
*
* @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_arguments', $arguments, $this );
$section_slug = static::get_section_slug( get_class( $this ) );
/**
* Applies a filter to the argument map for settings 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}_arguments", $arguments, $this );
}
Changelog
| Version | Description |
|---|---|
| 4.14.0 | Introduced. |