Advertisement

wp_get_shortlink

Returns a shortlink for a post, page, attachment, or site.

rel_canonical

Outputs rel=canonical for singular queries.

Advertisement

get_dashboard_url

Retrieves the URL to the user’s dashboard.

self_admin_url

Retrieves the URL to the admin area for either the current site or the network depending on context.

user_admin_url

Retrieves the URL to the admin area for the current user.

Advertisement

network_admin_url

Retrieves the URL to the admin area for the network.

network_home_url

Retrieves the home URL for the current network.

network_site_url

Retrieves the site URL for the current network.

plugins_url

Retrieves a URL within the plugins or mu-plugins directory.

Advertisement

content_url

Retrieves the URL to the content directory.

includes_url

Retrieves the URL to the includes directory.

get_admin_url

Retrieves the URL to the admin area for a given site.