Viewing 1 to 10 of 227 items
Archive | WordPress RSS feed for this section

How to get WooCommerce order details

Since Woocommerce mega major Update 3.0+ things have changed quite a lot: WC_Order properties can’t be access directly as before and will throw some errors. New WC_Order and WC_Abstract_Order getters and setters methods are now needed. There is some New classes for Order items: WC_Order_Item class. WC_Order_Item_Product class. Also see: Get Order items and WC_Order_Item_Product  Full Article…

0

How to get WooCommerce order details

See this Stack Overflow thread for more commentary: https://stackoverflow.com/a/44708344 Get and access to the order data properties (in an array of values): Get the order items and access the data with WC_Order_Item_Product and WC_Order_Item methods:

0

WP_HTTP_BLOCK_EXTERNAL & WP_ACCESSIBLE_HOSTS

Setting the WP_HTTP_BLOCK_EXTERNAL constant to true in your wp-config.php file will stop all outgoing network requests from your site. This is typically set on sites that are sitting behind a closed environment. However, having this set is problematic when performing migrations using WP Migrate DB Pro or allow updates for WordPress: Using WP_ACCESSIBLE_HOSTS you can set  Full Article…

0