Skip to content

Instantly share code, notes, and snippets.

@pritdeveloper
Last active August 2, 2018 12:49
Show Gist options
  • Save pritdeveloper/eaa4bd3c3d9c364ac53fa6b2856fb25f to your computer and use it in GitHub Desktop.
Save pritdeveloper/eaa4bd3c3d9c364ac53fa6b2856fb25f to your computer and use it in GitHub Desktop.
// define plugin variables
define( 'PLUGIN_PATH', rtrim( plugin_dir_path( __FILE__ ), '/' ) );
define( 'PLUGIN_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment