• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / includes/class-edd-db-customers.php


Lines:

1 to 39 of 39
<?php

/**
 * Customers DB class
 *
 * This class is for interacting with the customers' database table
 *
 * @package     EDD
 * @subpackage  Classes/DB Customers
 * @copyright   Copyright (c) 2015, Pippin Williamson
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       2.1
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;

/* class EDD_DB_Customers */
/* function EDD_DB_Customers::__construct() – Get things started */
/* function EDD_DB_Customers::get_columns() – Get columns and formats */
/* function EDD_DB_Customers::get_column_defaults() – Get default column values */
/* function EDD_DB_Customers::add() – Add a customer */
/* function EDD_DB_Customers::insert() – Insert a new customer */
/* function EDD_DB_Customers::update() – Update a customer */
/* function EDD_DB_Customers::delete() – Delete a customer */
/* function EDD_DB_Customers::exists() – Checks if a customer exists */
/* function EDD_DB_Customers::attach_payment() – Attaches a payment ID to a customer */
/* function EDD_DB_Customers::remove_payment() – Removes a payment ID from a customer */
/* function EDD_DB_Customers::increment_stats() – Increments customer purchase stats */
/* function EDD_DB_Customers::decrement_stats() – Decrements customer purchase stats */
/* function EDD_DB_Customers::update_customer_email_on_user_update() – Updates the email address of a customer record when the email on a user is updated */
/* function EDD_DB_Customers::get_customer_by() – Retrieves a single customer from the database */
/* function EDD_DB_Customers::get_customers() – Retrieve customers from the database */
/* function EDD_DB_Customers::count() – Count the total number of customers in the database */
/* function EDD_DB_Customers::prepare_customer_query_args() – Prepare query arguments for `EDD_Customer_Query`. */
/* function EDD_DB_Customers::set_last_changed() – Sets the last_changed cache key for customers. */
/* function EDD_DB_Customers::get_last_changed() – Retrieves the value of the last_changed cache key for customers. */
/* function EDD_DB_Customers::create_table() – Create the table */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: includes/class-edd-db-customers.php
      Plugin ref: Easy Digital Downloads
      Version: 2.10.1
      Deprecated?: No
      API Letters: C,D,E,I

      Published: 26th November 2019 | Last updated: 13th March 2021

      Primary Sidebar

      Information

      File name: includes/class-edd-db-customers.php
      Plugin ref: Easy Digital Downloads
      Version: 2.10.1
      Deprecated?: No
      API Letters: C,D,E,I

      includes

      Footer

      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      WordPress 5.7
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  edd.wp-a2z.org
      © Copyright Easy Digital Downloads a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites