Last modified by WP App Studio - 3 years ago
23 Views
Less than a minute read
Last modified by Safiye A. Duman - 3 years ago
133 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 - 4 years ago
122 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.