PHP code example of appsaloon / woocommerce-wrappers

1. Go to this page and download the library: Download appsaloon/woocommerce-wrappers library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

appsaloon / woocommerce-wrappers example snippets


$woocommerce = new Woocommerce_Functions();
$woocommerce->get_product( 5 );