Inventory_Presser_Admin_Customize_Dashboard::insert_settings_link( array $links )
insert_settings_link
Contents
Description Description
Adds a link to the settings page near the Activate | Delete links on the list of plugins on the Plugins page.
Parameters Parameters
- $links
-
(array) (Required)
Return Return
(array)
Source Source
File: includes/admin/class-admin-customize-dashboard.php
function insert_settings_link( $links ) { $url = admin_url( sprintf( 'edit.php?post_type=%s&page=dealership-options', INVP::POST_TYPE ) ); $links[] = sprintf( '<a href="%s">%s</a>', $url, __( 'Settings', 'inventory-presser' ) ); return $links; }
Expand full source code Collapse full source code View on Github