Skip to content

Instantly share code, notes, and snippets.

@scofennell
Created October 2, 2018 19:36
Show Gist options
  • Save scofennell/fd5ef96b070996acf91cbf82d5986277 to your computer and use it in GitHub Desktop.
Save scofennell/fd5ef96b070996acf91cbf82d5986277 to your computer and use it in GitHub Desktop.
<?php // A slug for our plugin.
define( 'BOILERPLATE', 'Boilerplate' );
// Establish a value for plugin version to bust file caches.
define( 'BOILERPLATE_VERSION', '0.1' );
// A constant to define the paths to our plugin folders.
define( 'BOILERPLATE_FILE', __FILE__ );
define( 'BOILERPLATE_PATH', trailingslashit( plugin_dir_path( BOILERPLATE_FILE ) ) );
// A constant to define the urls to our plugin folders.
define( 'BOILERPLATE_URL', trailingslashit( plugin_dir_url( BOILERPLATE_FILE ) ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment