Shortcode_Abstract::get_default_arguments()
{@inheritDoc}
Source
File: src/Tribe/Views/V2/Shortcodes/Shortcode_Abstract.php
public function get_default_arguments() {
/**
* Applies a filter to instance default arguments.
*
* @since 4.7.5
*
* @param array $default_arguments Current set of default arguments.
* @param static $instance Which instance of shortcode we are dealing with.
*/
$default_arguments = apply_filters( 'tribe_events_pro_shortcode_default_arguments', $this->default_arguments, $this );
$registration_slug = $this->get_registration_slug();
/**
* Applies a filter to instance default arguments based on the registration slug of the shortcode.
*
* @since 4.7.5
*
* @param array $default_arguments Current set of default arguments.
* @param static $instance Which instance of shortcode we are dealing with.
*/
$default_arguments = apply_filters( "tribe_events_pro_shortcode_{$registration_slug}_default_arguments", $this->default_arguments, $this );
return $default_arguments;
}