wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



rest_output_rsd › WordPress Function

Da4.4.0
Deprecaton/a
rest_output_rsd ( Nessun parametro )
Vedi:
Definito a:
Codex:

Adds the REST API URL to the WP RSD endpoint.



Sorgenti

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
}