wordpress create plugin\ code example
Example 1: wp plugin create
<?php
/**
* Plugin Name: My Plugin
* Description: A plugin
* Version: 1.1.1.0
* Author: E.Bisco
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly the file
// code snippet below
Example 2: create a plugin demo wordpress
Login to your WordPress multisite network admin.
Head to Plugins -> Add New.
Enter Easy Plugin Demo into the search field.
Click to install the plugin.
Network Activate the plugin.
Go to Settings -> Easy Plugin Demo to set your preferences.