Last modified by WP App Studio - 1 year ago
Not yet viewed
Less than a minute read
Last modified by Safiye A. Duman - 1 year ago
5 Views
1 min read
If you want to find the orders of a WooCommerce customer , since orders are a custom post type in WooCommerce you could use get_posts.
Last modified by Safiye A. Duman - 2 years ago
1 View
Less than a minute read
When using WordPress HTTP API, if the connection fails you could use the below code to display the error message.