Output and filter data from a XML url

Periodically read the XML file, parse it, and insert/update/delete your custom WordPress “realestate” posttype. I have done this before, for various realestate clients. Step 1 (the easy way): Find out if there is already a plugin/code to read your specific XML. There are probably dozens of others using the same XML structure to fill a … Read more

How to modify WCMP Rest API response?

Finally I had solved it! In the source code of the plugin “dc-woocommerce-multi-vendor”, I had viewed the class “class-wcmp-rest-vendors-controller.php” and figured out that they are using this filter in order to gather up the fields of the response: apply_filters(“wcmp_rest_prepare_vendor_object_args”, array(…)); In the functions.php of the child theme I had written this code to edit the … Read more