rsd_link() WordPress Function

The rsd_link() function allows you to easily include an RSD (Really Simple Discovery) link in your WordPress site. RSD is a way for clients to auto-discover your site's XML-RPC interface. This function automatically adds the necessary RSD link into the section of your site.

rsd_link() #

Display the link to the Really Simple Discovery service endpoint.


Source

File: wp-includes/general-template.php

function rsd_link() {
	echo '<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . esc_url( site_url( 'xmlrpc.php?rsd', 'rpc' ) ) . '" />' . "\n";
}


Top ↑

Changelog

Changelog
VersionDescription
2.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More