Didn't find anything? Ask your questions in the forum.
Documentation helpful_user_cookie_time


Help: If you do not know how to execute or save your own PHP code, you can find help here: How to execute PHP code on your WordPress website

This can be used to set the number of days for the lifetime of the Helpful cookie. The cookie is used to identify the user. The cookie does not store any personal data and it is not possible to identify who or what has set the cookie. This cookie is therefore GDPR compliant.

 * Set custom lifetime for user cookie.
 * @param string $string specifies a date/time string.
 * @return string
function custom_function( $string = '+30 days' ) {
  return $string;

add_filter( 'helpful_user_cookie_time', 'custom_function' );

Was this post helpful?