Skip to main content

better_messages_is_verified

REQUIREMENTS

To be able to implement this guide, you need to learn how to insert PHP snippets to your website.

You can find guide here: WP Beginner

This filter allows to show member verified badge in Better Messages interface based on custom conditions.

add_filter('better_messages_is_verified', 'custom_user_verified', 20, 2 );

function custom_user_verified( $is_verified, $user_id ){
// Return true if user is verified
return true;
// Otherwise return previous var
return $is_verified;
}