Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
WordPress Plugin Development

Creating Your First WordPress Plugin

Create a minimal working plugin folder and activate it from wp-admin.

Creating Your First WordPress Plugin — a practical guide to create WordPress plugin with clear examples you can reuse in real projects.

WordPress Plugin Development Series (4/95). Prefer one article? Read the complete WordPress plugin development tutorial.

Short description

Put a PHP file with a valid plugin header inside `wp-content/plugins/your-plugin/`, then activate it in Plugins.

Steps

  1. Create wp-content/plugins/hello-plugin/.
  2. Add a main PHP file with a plugin header.
  3. Activate it in wp-admin → Plugins.

hello-plugin.php

<?php
/**
 * Plugin Name: Hello Plugin
 * Description: My first WordPress plugin.
 * Version: 1.0.0
 * Author: Imtiyaj
 */

add_action('init', function () {
    // Plugin loaded.
});

Leave a reply

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