Didn't find anything? Ask your questions in the forum.
Documentation Filters helpful/logs/user_string


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

With this filter you can control the output of the user in the Helpful logs. Here in the example we use the string that is stored in the database and not just output 1 or 0.

add_filter('helpful/logs/user_string', function( $user_string, $row ) {
    $user_string = $row->user;
    return $user_string;
}, 10, 2);

Was this post helpful?