f ( ! defined( 'ABSPATH' ) ) { die; } /** * * The code that runs during plugin activation. * * This action is documented in includes/class-login-logout-register-menu-activator.php * */ function activate_llrm() { require_once plugin_dir_path( __FILE__ ) . 'includes/class-login-logout-register-menu-activator.php'; Login_Logout_Register_Menu_Activator::activate(); } /** * * The code that runs during plugin deactivation. * * This action is documented in includes/class-login-logout-register-menu-deactivator.php * */ function deactivate_llrm() { require_once plugin_dir_path( __FILE__ ) . 'includes/class-login-logout-register-menu-deactivator.php'; Login_Logout_Register_Menu_Deactivator::deactivate(); } register_activation_hook( __FILE__, 'activate_llrm' ); register_deactivation_hook( __FILE__, 'deactivate_llrm' ); /** * * Include the core class responsible for loading all necessary components of the plugin. * */ require_once plugin_dir_path( __FILE__ ) . 'includes/class-login-logout-register-menu.php'; /** * * Instantiates the Login Logout Register Menu class and then * * calls its run method officially starting up the plugin. * */ function run_llrm() { $ewpd = new Login_Logout_Register_Menu(); $ewpd->run(); } /** * * Call the above function to begin execution of the plugin. * */ run_llrm(); People – Sen Photos