Skip to content

Instantly share code, notes, and snippets.

@Zodiac1978
Last active December 21, 2023 09:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zodiac1978/1d9f33ef1be377869ad3 to your computer and use it in GitHub Desktop.
Save Zodiac1978/1d9f33ef1be377869ad3 to your computer and use it in GitHub Desktop.
A functionality plugin template for custom code that could be used on different sites
<?php
/**
* Plugin Name: Functionality Plugin Template
* Description: Add custom tweaks and snippets in this custom plugin.
* Plugin URI: https://torstenlandsiedel.de
* Version: 1.0.0
* Author: Torsten Landsiedel
* Author URI: https://torstenlandsiedel.de
* 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