SOAP not working when I hook on “wp_loaded”
i fixed it with moving up my constants definitions in the beginning of wp-config.php. I guess it breaks sometimes when including wp-settings.php
i fixed it with moving up my constants definitions in the beginning of wp-config.php. I guess it breaks sometimes when including wp-settings.php
Generally speaking, you can typically take PHP code and place a comment at the top: <?php /* Plugin Name: My SOAP Plugin */ ?> You can then create a folder for the plugin inside /wp-content/plugins/ (for example, /wp-conten/plugins/my-soap-plugin/) and place the PHP file inside that folder. At that point, you can activate the plugin from … Read more
Having a huge amount of data is a problem only if you need to give back a meaningful response. If you do not have to, you can just save the request and process it with some kind of a cron job. Is 1000 rows (whatever that means) is a lot of data? that actually depends … Read more
It looks like it was my original assumption. I placed all my codes into functions and then made a plugin and everything is working almost perfectly. The major hurdle was that because it was being handled on 2 pages and outside functions wordpress just didn’t seem to know what it/I was doing. Thanks again @tomjnowell … Read more
Although you might have already managed to solve the problem you faced, here’s few thoughts. You could use register_activation_hook(), register_deactivation_hook() and register_uninstall_hook() functions to trigger a wp_remote_post() call to your (custom) API endpoint to count the times when your plugin is activated, deactivated or deleted. If the recieving site, where you keep track of the … Read more
Export post data with xml to other site using php soap
Gravity Forms data to SOAP Service says Could not connect to host
Check that the user has php >= 5.3 installed. The inline function syntax used on that line only works with that or higher. You can rewrite the line to create a separate function and then call it like this: usort($mz_classes, ‘myFunction’); For more info: http://php.net/manual/en/function.usort.php
Never mind, find my error.. just need to assign to the function associate array according to the body structure. sometime all u need is just to write things down:)
Generate/save JSON or XML file from JSON script