Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!defined('ABSPATH')) {
- exit();
- }
- /*
- *set up constants
- */
- /**
- /* this is the plug-in directory name
- */
- if(!defined("FN_EVENTS")) {
- define("FN_EVENTS", trim(dirname(plugin_basename(__FILE__)), '/'));
- }
- /**
- /* this is the path to the plug-in's directory
- */
- if(!defined("FN_EVENTS_DIR")) {
- define("FN_EVENTS_DIR", WP_PLUGIN_DIR . '/' . FN_EVENTS);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement