rest_output_rsd

The timeline below displays how wordpress function rest_output_rsd has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.4

/**
 * Adds the REST API URL to the WP RSD endpoint.
 *
 * @since 4.4.0
 *
 * @see get_rest_url()
 */
function rest_output_rsd()
{
    $api_root = get_rest_url();
    if (empty($api_root)) {
        return;
    }
    ?>
	<api name="WP-API" blogID="1" preferred="false" apiLink="<?php 
    echo esc_url($api_root);
    ?>" />
	<?php 
}