クラス WP_Date_Query::get_compare()
2014/12/16
WP_Date_Query::get_compare()
定義ファイル :/blog/wp-includes/date.php
1 2 3 4 5 6 | public function get_compare( $query ) { if ( ! empty( $query['compare'] ) && in_array( $query['compare'], array( '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN' ) ) ) return strtoupper( $query['compare'] ); return $this->compare; } |