rest_url_prefix

Advertisement

Summery Summery

Filters the REST URL prefix.

Syntax Syntax

apply_filters( 'rest_url_prefix', string $prefix )

Parameters Parameters

$prefix

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