Plugin_Action_Links::add_links_to_plugin_actions( array $actions )

Add links to plugin actions.


Parameters

$actions

(array) (Required) The array with the links on the plugin actions.


Top ↑

Return

(array) $actions The modified array with the links.


Top ↑

Source

File: src/Tickets/Admin/Plugin_Action_Links.php

	public function add_links_to_plugin_actions( $actions ) {
		$actions['tec-tickets-settings']        = '<a href="' . tribe( Plugin_Settings::class )->get_url() . '">' . esc_html__( 'Settings', 'event-tickets' ) . '</a>';
		$actions['tec-tickets-getting-started'] = '<a href="https://evnt.is/1aot" target="_blank" rel="noopener noreferrer">' . esc_html__( 'Getting started', 'event-tickets' ) . '</a>';

		return $actions;
	}

Top ↑

Changelog

Changelog
Version Description
5.4.1 Introduced.