Skip to content

Instantly share code, notes, and snippets.

@lucasmshepherd
Last active January 15, 2021 14:12
Show Gist options
  • Save lucasmshepherd/f6c9550133e7e8c6fbdb64d74eae6f27 to your computer and use it in GitHub Desktop.
Save lucasmshepherd/f6c9550133e7e8c6fbdb64d74eae6f27 to your computer and use it in GitHub Desktop.
This is a blank template for creating a custom plugin. Create a directory i.e. 'wp-content/plugins/example-plugin/' then add your plugin function file in that folder i.e. 'example-plugin.php' then paste the code below and have some fun!
<?php
/**
* Plugin Name: Example Plugin by Lucas Grey
* Description: Example plugin.
* Author: Lucas Grey
* Version: 1.0.0
*/
/* * * Place custom functions here * * */
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment