Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hal Gatewood

    (@halgatewood)

    Currently not so easy. If you are familiar with PHP I would look at the source code and search for ‘wp_remote_get’ this shows how I get the data from OpenWeatherMaps. You could do the same thing in your functions.php and set body tags based on the data. Take some time to tinker with it and find out what you need.

    Thread Starter Rootside

    (@rootside)

    Ah, thanks.

    I was hoping to be able to somehow hook into the shortcode function (or the shortcode’s callback function) and retrieve values from there – wouldn’t that be available globally?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Retrieving data from plugin’ is closed to new replies.