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



rest_get_url_prefix › WordPress Function

Da4.4.0
Deprecaton/a
rest_get_url_prefix ( Nessun parametro )
Ritorna:
  • (string) Prefix.
Definito a:
Codex:

Retrieves the URL prefix for any API resource.



Sorgenti

function rest_get_url_prefix() {
	/**
	 * Filters the REST URL prefix.
	 *
	 * @since 4.4.0
	 *
	 * @param string $prefix URL prefix. Default 'wp-json'.
	 */
	return apply_filters( 'rest_url_prefix', 'wp-json' );
}