rest_url_prefix

Advertisement

Summery Summery

Filters the REST URL prefix.

Syntax Syntax

apply_filters( 'rest_url_prefix', string $prefix )

Parameters Parameters

$prefix

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

Source Source

File: wp-includes/rest-api.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.