pmpro_setDBTables

The Paid Memberships Pro pmpro setDBTables function.

Description

pmpro_setDBTables(); 

Usage

  1. if ( !function_exists( 'pmpro_setDBTables' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'paid-memberships-pro/includes/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = pmpro_setDBTables(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/functions.php  
  1. function pmpro_setDBTables() 
  2. global $wpdb; 
  3. $wpdb->hide_errors(); 
  4. $wpdb->pmpro_membership_levels = $wpdb->prefix . 'pmpro_membership_levels'; 
  5. $wpdb->pmpro_memberships_users = $wpdb->prefix . 'pmpro_memberships_users'; 
  6. $wpdb->pmpro_memberships_categories = $wpdb->prefix . 'pmpro_memberships_categories'; 
  7. $wpdb->pmpro_memberships_pages = $wpdb->prefix . 'pmpro_memberships_pages'; 
  8. $wpdb->pmpro_membership_orders = $wpdb->prefix . 'pmpro_membership_orders'; 
  9. $wpdb->pmpro_discount_codes = $wpdb->prefix . 'pmpro_discount_codes'; 
  10. $wpdb->pmpro_discount_codes_levels = $wpdb->prefix . 'pmpro_discount_codes_levels'; 
  11. $wpdb->pmpro_discount_codes_uses = $wpdb->prefix . 'pmpro_discount_codes_uses'; 
  12. $wpdb->pmpro_membership_levelmeta = $wpdb->prefix . 'pmpro_membership_levelmeta';