Please update!"; exit($exit_msg); } } else { $exit_msg = "You are attempting to access this plugin directly."; exit($exit_msg); echo "You are attempting to access this plugin directly."; } /*****************************************************************************/ /************************ Singleton ******************************************/ /*****************************************************************************/ //Load Handler //TODO change to APLCore->Run // Basically attempt to remove the need for a variable. require_once(plugin_dir_path(__FILE__) . 'includes/class/APLCore.php'); $advanced_post_list = new APLCore(__FILE__); // A LIST DEBUGGIN METHODS THAT USERS MAY USE OR BE // REFERRED TO DURING ANY POSSIBLE TROUBLESHOOTING // ISSUES THAT MAY OCCURE /****************************************************** * | * * |.===. * * {}o o{} * * .----------------------------------ooO--(_)--Ooo-. * * | | * * | ___ _ _____ _ | * * | | \ ___| |__ _ _ __ _ |_ ____ ___| |___ | * * | | |) / -_| '_ | || / _` | | |/ _ / _ | (_-< | * * | |___/\___|_.__/\_,_\__, | |_|\___\___|_/__/ | * * | |___/ | * * | DESCRIPTIONS | * * | #1 - Var(iable)_Dump * | #2 - Callstack | * * |________________________________________________| * * * ******************************************************/ //Tool #1 //var_dump($example_variable); // //Tool #2 //$e = new Exception; //var_dump($e->getTraceAsString()); ?>