 |
Introduction to the JSON REST API - Torque - WordPress News, WP Community Experts | @thetorquemag
If you look closely, you will notice that the third parameter, $rooturl, can accept either a URL or a function name. This allows you to pass a function — such as the default, home_url(), or a full URL — to use as the base for building the URL string. The
torquemag.io |
 |