wphooks.info - wp_http_cookie_value

wp_http_cookie_value

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/class-wp-http-cookie.php:
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
		}

		/**
		 * 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 );
	}

	/**
	 * Retrieve cookie header for usage in the rest of the WordPress HTTP API.
	 *
	 * @since 2.8.0
	 *
	 * @return string
	 */