Initial commit: Open sourcing all of the Maple Open Technologies code.

This commit is contained in:
Bartlomiej Mika 2025-12-02 14:33:08 -05:00
commit 755d54a99d
2010 changed files with 448675 additions and 0 deletions

View file

@ -0,0 +1,23 @@
<?php
/**
* Fired when the plugin is uninstalled.
*
* @package MaplePress
* @subpackage MaplePress/includes
*/
// If uninstall not called from WordPress, then exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// Delete all plugin options
delete_option( 'maplepress_settings' );
// Delete any transients
delete_transient( 'maplepress_activation_redirect' );
delete_transient( 'maplepress_redirect_to_sync' );
delete_transient( 'maplepress_pending_deletion' );
// Log the uninstall
error_log( 'MaplePress: Plugin uninstalled and all data removed' );