How to create Plugin in simple in wordpress

First you need to create a file or directory in the plugins directory

Let show you a test plugin

Create a file name test-plugin.php in the plugins directory

Enter the below content in the file

<?php 
/*
   Plugin Name: Test Plugin  
    Description: This is just a test plugin to print "Hello world! Plugin is running!
    Plugin URI: https://www.shahrukhdeveloper.com

        Version: 1..1 or something
     License: GPLv2 or later
*/

Leave a Reply

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