Skip to content

Instantly share code, notes, and snippets.

@ethanpil
Created September 10, 2023 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ethanpil/3864289753661b0b645f6cb13109fee5 to your computer and use it in GitHub Desktop.
Save ethanpil/3864289753661b0b645f6cb13109fee5 to your computer and use it in GitHub Desktop.
Wordpress Function Boilerplate
<?php
* Plugin Name: WordPress Plugin Boilerplate
* Plugin URI: http://example.com/plugin-name-uri/
* Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
* Version: 1.0.0
* Author: Your Name or Your Company
* Author URI: http://example.com/
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: 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