run(); } function deactivate_alti_protect_uploads() { require_once plugin_dir_path( __FILE__ ) . 'admin/class-protect-uploads-admin.php'; require_once plugin_dir_path( __FILE__ ) . 'includes/class-protect-uploads-deactivator.php'; $deactivation = new Alti_ProtectUploads_Deactivator(); $deactivation->run(); } register_activation_hook( __FILE__, 'activate_alti_protect_uploads' ); register_deactivation_hook( __FILE__, 'deactivate_alti_protect_uploads' ); require plugin_dir_path( __FILE__ ) . 'includes/class-protect-uploads.php'; $plugin = new Alti_ProtectUploads(); $plugin->run();