Tribe__Events__Filterbar__Settings::add_links_to_plugin_actions( array $actions )

Add Filter Bar settings link the the plugin admin list.


Parameters #

$actions

(array) (Required) An array of links to add to the plugin admin list.


Top ↑

Return #

(array) An array of links to add to the plugin admin list.


Top ↑

Source #

File: src/Tribe/Settings.php

	public function add_links_to_plugin_actions( $actions ) {

		$settings_url = Tribe__Settings::instance()->get_url( [ 'tab' => 'filter-view' ] );

		$actions['settings'] = '<a href="' . esc_url( $settings_url ) . '">' . esc_html__( 'Settings', 'tribe-events-filter-view' ) . '</a>';

		return $actions;
	}

Top ↑

Changelog #

Changelog
Version Description
TBD Introduced.