billogram_fetch_contacts_callback
The WooCommerce Billogram Integration billogram fetch contacts callback function.
Description
billogram_fetch_contacts_callback();
Usage
if ( !function_exists( 'billogram_fetch_contacts_callback' ) ) { require_once ABSPATH . PLUGINDIR . 'woocommerce-billogram-integration/woocommerce-billogram2-extended.php'; } // NOTICE! Understand what this does before running. $result = billogram_fetch_contacts_callback();
Defined (1)
The function is defined in the following location(s).
- /woocommerce-billogram2-extended.php
- function billogram_fetch_contacts_callback() {
- global $wpdb; // this is how you get access to the database
- $fnox = new WC_Billogram_Extended();
- $fnox->fetch_billogram_contacts();
- echo "Kontakter r synkroniserade utan problem.";
- die(); // this is required to return a proper result
- }