Manager::get_registered_shortcodes()

Get the list of shortcodes available for handling.


Return

(array) An associative array of shortcodes in the shape [ <slug> => <class> ]


Top ↑

Source

File: src/Tribe/Shortcode/Manager.php

	public function get_registered_shortcodes() {
		$shortcodes = [];

		/**
		 * Allow the registering of shortcodes into the our Tribe plugins.
		 *
		 * @since  4.12.0
		 *
		 * @var array An associative array of shortcodes in the shape `[ <slug> => <class> ]`.
		 */
		$shortcodes = apply_filters( 'tribe_shortcodes', $shortcodes );

		return $shortcodes;
	}

Top ↑

Changelog

Changelog
Version Description
4.12.0 Introduced.