apply_filters( 'rest_send_nocache_headers', bool $rest_send_nocache_headers )

Send nocache headers on authenticated requests.


Parameters

$rest_send_nocache_headers

Whether to send no-cache headers.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.