How do I print this SQL query on the screen as a string?
$current_user = wp_get_current_user();
$resultado = $wpdb->get_results( "SELECT meta_value FROM $wpdb->usermeta WHERE user_id = '$current_user->ID' AND meta_key = '_jm_candidate_field_clocknow_user_btn'" );
This query is returning the following result:
Array ( [0] => stdClass Object ( [meta_value] => value_1 ) )
I would like to only display the value value_1
.