email address non required

WooCommerce has a very broad documentation, one topic in it is about Customizing checkout fields using actions and filters, you can easily set billing_email to not be required. (code untested) add_filter(‘woocommerce_checkout_fields’, ‘WPSE0309_woocommerce_checkout_fields’); function WPSE0309_woocommerce_checkout_fields( $fields ) { $fields[‘billing’][‘billing_email’][‘required’] = false; return $fields; }

Passing data outside of WordPress possible?

I’m not an affiliate of Gravity Forms and I’m sorry if this offends someone, but based on my own custom form development experiences I can recommend it. Gravity Forms has very good API documentation that helps when customizing forms. For example on one site I used Advanced Custom Fields metafields as Gravity Forms radio field … Read more

Creating posts, containing data from remote API

Is it possible to create a create a custom post type for every product in this APIs and publish it on the website? Yes, loop through the results, and for each result, check if the post already exists. If it doesn’t use wp_insert_post to create the post. Try doing it on a cron job so … Read more

How do I filter Child Posts by Parent Post ID for Custom Post types in WordPress REST API response?

I’d start out by checking that your request is being passed properly. I’d do that by changing this: function custom_api_get_all_posts_callback( $request ) { // Initialize the array that will receive the posts’ data. $posts_data = array(); to this: function custom_api_get_all_posts_callback( $request ) { // Initialize the array that will receive the posts’ data. echo “<pre>”; … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)