Plugin_Action_Links::add_links_to_plugin_actions( array $actions )
Add links to plugin actions.
Contents
Parameters
- $actions
-
(array) (Required) The array with the links on the plugin actions.
Return
(array) $actions The modified array with the links.
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; }
Changelog
Version | Description |
---|---|
5.4.1 | Introduced. |