helpful_session_start

With this filter you can set whether PHP sessions should be started by Helpful. If you use a plugin for sessions, you should set the value in your functions.php to false to avoid conflicts.

/**
 * @param bool $status
 * @return bool
 */
add_filter('helpful_session_start', function (bool $status) {
    $status = false;
    return $status;
});

// Alternative usage:
add_filter('helpful_session_start', '__return_false');

Was this post helpful?

Top