wp-includes/class-wp-http-cookie.php:230Convert cookie name and value back to header string.
stringOne hook fires while WP_Http_Cookie::getHeaderValue() runs, in this order:
Filters the header-encoded cookie value.
public function getHeaderValue() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid if ( ! isset( $this->name ) || ! isset( $this->value ) ) { return ''; } /** * Filters the header-encoded cookie value. * * @since 3.4.0 * * @param string $value The cookie value. * @param string $name The cookie name. */ return $this->name . '=' . apply_filters( 'wp_http_cookie_value', $this->value, $this->name ); }Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/class-wp-http-cookie.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.