billogram_fetch_contacts_callback

The WooCommerce Billogram Integration billogram fetch contacts callback function.

Description

billogram_fetch_contacts_callback(); 

Usage

  1. if ( !function_exists( 'billogram_fetch_contacts_callback' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-billogram-integration/woocommerce-billogram2-extended.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = billogram_fetch_contacts_callback(); 
  7.  

Defined (1)

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

/woocommerce-billogram2-extended.php  
  1. function billogram_fetch_contacts_callback() { 
  2. global $wpdb; // this is how you get access to the database 
  3. $fnox = new WC_Billogram_Extended(); 
  4. $fnox->fetch_billogram_contacts(); 
  5. echo "Kontakter r synkroniserade utan problem."; 
  6. die(); // this is required to return a proper result