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