Menu Samaritan's Purse

HEADER_REGISTER_CALLBACK

Call a header function

SYNTAX

header_register_callback ( callable $callback ) : bool

PARAMETERS

callback

Function called just before the headers are sent. It gets no parameters and the return value is ignored.

RETURN

Returns TRUE on success or FALSE on failure.

EXAMPLES

1

Array
(
    [0] => Content-type: text/plain;charset=UTF-8
)
a

PHP