Hi
I am celebrating the functionalities of looper providers with WP query strings and JSON strings.
What I truly need, is a way to convert a PHP array string to a JSON string or directly to an HTTP query string.
Building a little function in my functions.php, as you described here (via the plugin Code “Snippets”) does not work, unfortunately.
Something like this:
But directly from PHP to HTTP query!
In my current case I need to order a WP query by two different meta values, and this can only be done by giving a JSON string, right?
Hope you have a little hint for me.
Thanks & kind regards,
Hannes