apply_filters( 'rest_endpoints_description', array $data )

Filters the publicly-visible data for a single REST API route.


Parameters

$data array
Publicly-visible data for the route.

Top ↑

Source

File: wp-includes/rest-api/class-wp-rest-server.php. View all references

$available[ $route ] = apply_filters( 'rest_endpoints_description', $data );


Top ↑

Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes

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