apply_filters( “extra_{$context}_headers”, array $extra_context_headers )

Filters extra file headers by context.

Description

The dynamic portion of the hook name, $context, refers to the context where extra headers might be loaded.

Parameters

$extra_context_headersarray
Empty array by default.

Source

$extra_headers = $context ? apply_filters( "extra_{$context}_headers", array() ) : array();

Changelog

VersionDescription
2.9.0Introduced.

User Contributed Notes

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