Skip to content
View stuart-lambon's full-sized avatar
Block or Report

Block or report stuart-lambon

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Updates WooCommerce product stock qu... Updates WooCommerce product stock quantity programmatically. $sku and $qty variables need to be filled.
    1
    <?php
    2
    
                  
    3
    $sku = 'ITEM001';
    4
    $qty = 1;
    5
    
                  
  2. Change the WooCommerce ‘Return to sh... Change the WooCommerce ‘Return to shop’ link
    1
    /* Change the WooCommerce ‘Return to shop’ link */
    2
    
                  
    3
    function change_return_to_shop_link() {
    4
    	// return to homepage
    5
    	return get_home_url();