Site icon Hip-Hop Website Design and Development

Customized fields a number of commas separated values

This code is working high quality however once I add a number of commas separated values in customized fields worth then It isn’t working. (Instance:- Demo, Demo Two)

$meta_query = array('relation' => 'AND');
if ($Style_Cabinet_Style)
 {
    $meta_query[] =  array(
        'meta_key' => 'Cabinet_Style',
        'worth' => $Style_Cabinet_Style,
        'examine' => 'IN'
        );



$question = new WP_Query(
array( 
    'post_type' => 'gallery',
    'meta_query' => $meta_query,
)
);