After upgrading or downgrading version, the previous string not working

[ad_1]

Hello Plugin Author, please refer to this thread

I realize different version of BM may not work as usual.

global $wpdb;

$user_id = 1;
$conversations_number = (int) $wpdb->get_var( $wpdb->prepare("SELECT COUNT(*) FROM 
" . bm_get_table('recipients') . "
 WHERE 
user_id
 = %d", $user_id) );

is this $conversations_number working for all versions of BM? Thank you!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer