Inventory_Presser_Plugin::insert_settings_link( array $links )
Adds a link to the settings page near the Activate | Delete links on the list of plugins on the Plugins page.
On This Page
Parameters Parameters
- $links
-
(array) (Required)
Return Return
(array)
Source Source
File: inventory-presser.php
/** * Adds a link to the settings page near the Activate | Delete links on the * list of plugins on the Plugins page. * * @param array $links * @return array */ public function insert_settings_link( $links ) { $url = admin_url( sprintf( 'edit.php?post_type=%s&page=%s', INVP::POST_TYPE, INVP::OPTION_PAGE ) );
Expand full source codeCollapse full source codeView on Github