Tribe__Events__Pro__Main::addLinksToPluginActions( $actions )

Return additional action for the plugin on the plugins page.

Contents


Return

(array)


Top ↑

Source

File: src/Tribe/Main.php

		public function addLinksToPluginActions( $actions ) {
			if ( class_exists( 'Tribe__Events__Main' ) ) {
				$actions['settings'] = '<a href="' . Tribe__Settings::instance()->get_url() . '">' . esc_html__( 'Settings', 'tribe-events-calendar-pro' ) . '</a>';
			}

			return $actions;
		}