Tribe_Events::get_database_arguments( string $shortcode_id = null )

Fetches from the database the params of a given shortcode based on the ID created.


Parameters

$shortcode_id

(string) (Optional) The shortcode identifier, or null to use the current one.

Default value: null


Top ↑

Return

(array) Array of params configuring the Shortcode.


Top ↑

Source

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

	public function get_database_arguments( $shortcode_id = null ) {
		$shortcode_id = $shortcode_id ?: $this->get_id();
		$transient_key = static::TRANSIENT_PREFIX . $shortcode_id;
		$transient_arguments = get_transient( $transient_key );

		return $transient_arguments;
	}

Top ↑

Changelog

Changelog
Version Description
4.7.9 Introduced.