Created
January 11, 2022 19:45
-
-
Save xxGus/227064c173c09d1252b3f70818b8e5f5 to your computer and use it in GitHub Desktop.
How to create a wordpress plugin?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: My Plugin Name | |
* Plugin URI: https://github.com/xxGus | |
* Description: A simple plugin | |
* Version: 1.0.0 | |
* Author: Gustavo Baptista | |
* Author URI: https://github.com/xxGus | |
* License: GPL-2.0+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt | |
* Text Domain: my-plugin-name | |
* Domain Path: /languages | |
*/ | |
// If this file is called directly, abort. | |
if ( ! defined( 'WPINC' ) ) { | |
die; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment