Support » Fixing WordPress » meta_query problem

  • I need to query some numeric data BETWEEN some values from meta_value ARRAY!!!!

    $args = array(
       'orderby' => 'meta_value_num',
       'order' => 'ASC',
      'meta_query'=> array(
          'key' => 'repeat_ends',
          'compare' => 'between',
          'value' => array($start_time,$finish_time),
          'type' => 'numeric'
    $query = new WP_Query( $args );

    REMEMBER THAT MY meta_value IS AN ARRAY of mktime elements!!! time and values in array are correct help me please..

  • The topic ‘meta_query problem’ is closed to new replies.