apply_filters( 'rest_url_prefix', string $prefix )

Filters the REST URL prefix.


Parameters Parameters

$prefix

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


Top ↑

Source Source

File: wp-includes/rest-api.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.