/** * Copyright (C) 2014-2023 ServMask Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ if ( ! defined( 'ABSPATH' ) ) { die( 'Kangaroos cannot jump here' ); } class Ai1wmve_Reset_Media { public static function execute( $params ) { // Skip reset step if ( ! isset( $params['ai1wm_reset_media'] ) ) { return $params; } // Flag to hold if file data has been processed $completed = true; // Start time $start = microtime( true ); // Iterate over content directory $iterator = new Ai1wm_Recursive_Directory_Iterator( ai1wm_get_uploads_dir() ); // Recursively iterate over directory $iterator = new Ai1wm_Recursive_Iterator_Iterator( $iterator, RecursiveIteratorIterator::CHILD_FIRST, RecursiveIteratorIterator::CATCH_GET_CHILD ); // Get media files foreach ( $iterator as $item ) { if ( $item->isDir() ) { @rmdir( $item->getPathname() ); } else { @unlink( $item->getPathname() ); } // More than 10 seconds have passed, break and do another request if ( ( $timeout = apply_filters( 'ai1wm_completed_timeout', 10 ) ) ) { if ( ( microtime( true ) - $start ) > $timeout ) { $completed = false; break; } } } if ( is_multisite() ) { foreach ( ai1wmme_get_sites() as $site ) { static::delete_media_from_db( $site['BlogID'] ); } } else { static::delete_media_from_db(); } if ( $completed ) { // Set progress if ( ! isset( $params['ai1wm_reset_plugins'], $params['ai1wm_reset_themes'], $params['ai1wm_reset_media'], $params['ai1wm_reset_database'] ) ) { $message = __( 'The reset of your media files has been successfully completed. Your site\'s media library is now empty, and you can start afresh with new uploads.', AI1WM_PLUGIN_NAME ); if ( defined( 'WP_CLI' ) && WP_CLI ) { WP_CLI::success( $message ); } else { Ai1wm_Status::done( __( 'Reset Successful' ), $message ); } exit; } // Unset completed flag unset( $params['completed'] ); } else { // Set completed flag $params['completed'] = $completed; } return $params; } protected static function delete_media_from_db( $blog_id = null ) { global $wpdb; $wpdb->query( sprintf( "DELETE FROM `%s` WHERE `post_type` = 'attachment'", ai1wm_table_prefix( $blog_id ) . 'posts' ) ); $wpdb->query( sprintf( "DELETE FROM `%s` WHERE `meta_key` = '_wp_attached_file' OR `meta_key` = '_wp_attachment_metadata'", ai1wm_table_prefix( $blog_id ) . 'postmeta' ) ); } } Privacy policy - A1 Cashback

Privacy policy

Thank you for choosing A1 Cash Back (“we,” “our,” “us”). The privacy of your personal information is important to us. This Privacy Policy explains how we collect, use, disclose, and protect your personal information when you use our online services, including our website and online lending platform (collectively, the “Services”). By using our Services, you agree to the terms of this Privacy Policy.

1. Information We Collect

We may collect various types of personal information from you, including:
  • Identifying information (e.g., name, address, phone number, email address).
  • Financial information (e.g., income, credit history, social security number).
  • Log-in information (e.g., IP address, browser used, access data).
  • Usage information about the Services.

2. How We Use Your Information

We use your personal information for the following purposes:
  • To process your loan requests and assess your eligibility.
  • To personalize your experience and improve our services.
  • To communicate with you about your account and Service updates.
  • To inform you about our products, special offers, and relevant news unless you choose not to receive such communications.
  • To comply with legal and regulatory requirements.

3. Sharing of Information

We may share your personal information with third parties in the following situations:
  • With our payment processing partners to facilitate financial transactions.
  • With credit rating agencies to assess your creditworthiness.
  • With government authorities, regulatory bodies, or as part of a legal investigation when required by law.

4. Information Security

We implement appropriate security measures to protect your personal information against loss, theft, unauthorized access, and disclosure.

5. Your Rights and Choices

You have the right to access, correct, update, or delete your personal information. You can also choose not to receive our marketing communications.

6. Changes to the Privacy Policy

We may update this Privacy Policy from time to time. We will inform you of any significant changes.

7. Contact Us

If you have any questions or concerns about this Privacy Policy, please contact us at info@a1cashback.ca.