• Home
  • Knowledgebase
  • DevDocs
  • Translations
  • Support
  • Live Preview

logo DevDocs

By The Events Calendar
Filter by type:
Skip to content
Filter by type:
Search
Browse: Home / Classes / Shortcode_Abstract / Shortcode_Abstract::validate_arguments()
Product: The Events Calendar PRO

Shortcode_Abstract::validate_arguments( $arguments )

{@inheritDoc}


Source

File: src/Tribe/Views/V2/Shortcodes/Shortcode_Abstract.php

	public function validate_arguments( array $arguments ) {
		$validate_arguments_map = $this->get_validate_arguments_map();
		foreach ( $validate_arguments_map as $key => $callback ) {
			$arguments[ $key ] = $callback( isset( $arguments[ $key ] ) ? $arguments[ $key ] : null );
		}

		return $arguments;
	}

Expand full source code Collapse full source code

The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy