Last modified by WP App Studio - 1 year ago
2 Views
Less than a minute read
Last modified by Safiye A. Duman - 2 years ago
26 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
10 Views
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.