Tribe__Events__Pro__Main::addMetaLinks( array $links, string $file )

Add meta links on the plugins page.


Parameters

$links

(array) (Required) The current array of links to display.

$file

(string) (Required) The plugin to add meta links to.


Top ↑

Return

(array) The modified array of links to display.


Top ↑

Source

File: src/Tribe/Main.php

		public function addMetaLinks( $links, $file ) {
			if ( $file == $this->pluginDir . 'events-calendar-pro.php' ) {
				$anchor = __( 'Support', 'tribe-events-calendar-pro' );
				$links[] = '<a href="http://m.tri.be/4z">' . $anchor . '</a>';
				$anchor = __( 'View All Add-Ons', 'tribe-events-calendar-pro' );
				$links[] = '<a href="http://m.tri.be/50">' . $anchor . '</a>';
			}

			return $links;
		}