Skip to content

Instantly share code, notes, and snippets.

@cloudinstone
Last active June 28, 2024 10:58
Show Gist options
  • Save cloudinstone/edd5cf68839b1cb9cce6474d885b5297 to your computer and use it in GitHub Desktop.
Save cloudinstone/edd5cf68839b1cb9cce6474d885b5297 to your computer and use it in GitHub Desktop.
WordPress Plugin Header
<?php
/**
* Plugin Name
*
* @package PluginPackage
* @author Your Name
* @copyright 2019 Your Name or Company Name
* @license GPL-2.0-or-later
*
* @wordpress-plugin
* Plugin Name: Plugin Name
* Plugin URI: https://example.com/plugin-name
* Description: Description of the plugin.
* Version: 1.0.0
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Your Name
* Author URI: https://example.com
* Text Domain: plugin-slug
* License: GPL v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Update URI: https://example.com/my-plugin/
* Requires Plugins: my-plugin, yet-another-plugin
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment