rest_url_prefix

SummerySummery

Filters the REST URL prefix.

Syntax

apply_filters( 'rest_url_prefix', string $prefix )

ParametersParameters

$prefix

(string) URL prefix. Default 'wp-json'.

SourceSource

File: wp-includes/rest-api.php

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top