Browsed by
Tag: curl timeout

WordPress wp_remote_get

WordPress wp_remote_get

I was recently working on a project which involved using WordPress cron for some automated tasks. Although the function wrapping the call to the WordPress even scheduler reported being called, the ‘work’ was not being done (in this case retrieving data from a remote server). This was particularly strange because if I ran the functionality manually it worked. Note: I inherited this system from another developer so any references to code duplication are not of my doing! Upon closer investigation…

Read More Read More