• Skip to primary navigation
  • Skip to main content
  • Skip to footer

TECHXT

simple extendable solutions

  • Home
  • WordPress Tutorial
  • SEO
  • How to
  • Forum
  • Knowledge Base
    • Domain Name Generator
    • My Tech Projects
    • News
    • Security
  • About
  • Search
Home › Wordpress Tutorial › Add settings link to your WordPress plugin
Wordpress Tutorial

Add settings link to your WordPress plugin

By Sudipto

0

This is a short tutorial for WordPress plugin developers. If you are a WordPress plugin developer and would like to add a settings link similar to the image below beside the activate and deactivate link on the plugins page then just add the below code to your plugin.

plugin-settings-link

add_filter("plugin_action_links_" . plugin_basename(__FILE__), 'xt_plugin_settings_link' );

function xt_plugin_settings_link($links) { 
  $settings_link = '<a href="options-general.php?page=your_plugin_settings_page">Settings</a>'; 
  array_unshift($links, $settings_link); 
  return $links; 
}

Do not forget to change the your_plugin_settings_page in the code to your own plugin’s settings page link.

 

I am the founder and developer at TECHXT. Over the decade I have helped hundreds build their own site. All plugins I develop are made have a common goal: Make it as simple as possible and as easy to use as possible.
Sudipto
View all posts by Sudipto
Sudipto's Website / Google+

Do you like this article?

plugin wordpress

About Sudipto

I am the founder and developer at TECHXT. Over the decade I have helped hundreds build their own site. All plugins I develop are made have a common goal: Make it as simple as possible and as easy to use as possible.

Follow me

Footer

Subscribe by email

FOLLOW US :

Tools & Apps

  • Domain Names Generator
  • Our Wordpress Plugins
  • HTML Code Table

TechXT Network

  • www.seecoupons.com – Just another Deals & Coupons site
  • pincodes.techxt.com – A search engine for Indian Pincode.
  • stdcode.techxt.com – A search engine for Indian STD Codes
  • mobileinfo.techxt.com – A search engine for Indian Mobile Codes
  • bankifsccode.techxt.com – A search engine for Indian Bank IFSC Codes.

Info

  • Contact us
  • Privacy Policy

  •   simple extendable solutions

© Copyright 2025 TECHXT.COM

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.