wp basic plugin code example
Example: 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