Filter: hivepress/v1/components/request/context

apply_filters( 'hivepress/v1/components/request/context', $context ) → {array}

Filters the current request context. You can use this hook to store some request-specific values and retrieve them anywhere in the code with the hivepress()->request->get_context( 'context_key' ) method.

Parameters:
Name Type Description
$context array

Context values.

Source:
Returns:

Context values.

Type
array