1
2
3
4
5
6
7
8
9
function my_add_action_links( $links ) {
 
    $url = get_admin_url(null, 'options-general.php?page=plugin_name');
 
    $links[] = '<a href="'. $url .'">Settings</a>';
    return $links;
}
 
add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'my_add_action_links' );
Add a settings link to plugins overview page
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *