Skip to content

Instantly share code, notes, and snippets.

@zottto
Created November 27, 2015 08:43
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 zottto/e75ffe05df3a07e4284b to your computer and use it in GitHub Desktop.
Save zottto/e75ffe05df3a07e4284b to your computer and use it in GitHub Desktop.
Use this custom plugin template to add your own code snippets to WordPress. Copy this file into the plugin directory and activate it.
<?php
/**
* Plugin Name: Custom Plugin Template
* Description: Add custom tweaks and snippets in this custom plugin.
* Plugin URI: http://www.wp-sicherheit.info/
* Version: 1.0
* Author: Marc Nilius
* Author URI: http://www.wp-sicherheit.info/
* Licence: GPL 2
* License URI: http://opensource.org/licenses/GPL-2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
// Add your snippets here:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment