diff --git src/wp-includes/class-wp-meta-query.php src/wp-includes/class-wp-meta-query.php
index d9234c2..4f76bf1 100644
|
|
|
class WP_Meta_Query { |
| 99 | 99 | * |
| 100 | 100 | * @since 3.2.0 |
| 101 | 101 | * @since 4.2.0 Introduced support for naming query clauses by associative array keys. |
| 102 | | * @since 5.0.0 Introduced $compare_key clause parameter, which enables LIKE key matches. |
| | 102 | * @since 5.0.0 Introduced $compare_key clause parameter, which enables various key matches. |
| | 103 | * @since 5.0.0 Introduced $type_key clause parameter, which enables key casts. |
| 103 | 104 | * |
| 104 | 105 | * @param array $meta_query { |
| 105 | 106 | * Array of meta query clauses. When first-order clauses or sub-clauses use strings as |
| … |
… |
class WP_Meta_Query { |
| 111 | 112 | * Optional. An array of first-order clause parameters, or another fully-formed meta query. |
| 112 | 113 | * |
| 113 | 114 | * @type string $key Meta key to filter by. |
| 114 | | * @type string $compare_key MySQL operator used for comparing the $key. Accepts '=' and 'LIKE'. |
| 115 | | * Default '='. |
| | 115 | * @type string $compare_key MySQL operator used for comparing the $key. Accepts '=' and '!=' |
| | 116 | * 'LIKE', 'NOT LIKE', 'IN', 'NOT IN', 'REGEXP', 'NOT REGEXP', 'RLIKE', |
| | 117 | * 'EXISTS' or 'NOT EXISTS'. |
| | 118 | * Default is 'IN' when `$key` is an array, '=' otherwise. |
| | 119 | * @type string $type_key MySQL data type that the meta_key column will be CAST to for |
| | 120 | * comparisons. Accepts 'BINARY' for regular expression comparisons. |
| | 121 | * Default is '' for case-insensitive REGEXP comparisons. |
| 116 | 122 | * @type string $value Meta value to filter by. |
| 117 | 123 | * @type string $compare MySQL operator used for comparing the $value. Accepts '=', |
| 118 | 124 | * '!=', '>', '>=', '<', '<=', 'LIKE', 'NOT LIKE', |
diff --git src/wp-includes/class-wp-query.php src/wp-includes/class-wp-query.php
index b65ac1c..740a3dc 100644
|
|
|
class WP_Query { |
| 605 | 605 | * @since 4.6.0 Added 'post_name__in' support for `$orderby`. Introduced the `$lazy_load_term_meta` argument. |
| 606 | 606 | * @since 4.9.0 Introduced the `$comment_count` parameter. |
| 607 | 607 | * @since 5.0.0 Introduced the `$meta_compare_key` parameter. |
| | 608 | * @since 5.0.0 Introduced the `$meta_type_key` parameter. |
| 608 | 609 | * |
| 609 | 610 | * @param string|array $query { |
| 610 | 611 | * Optional. Array or string of Query parameters. |
| … |
… |
class WP_Query { |
| 646 | 647 | * @type array $meta_query An associative array of WP_Meta_Query arguments. See WP_Meta_Query. |
| 647 | 648 | * @type string $meta_value Custom field value. |
| 648 | 649 | * @type int $meta_value_num Custom field value number. |
| | 650 | * @type string $meta_type_key Cast for 'meta_key'. |
| 649 | 651 | * @type int $menu_order The menu order of the posts. |
| 650 | 652 | * @type int $monthnum The two-digit month. Default empty. Accepts numbers 1-12. |
| 651 | 653 | * @type string $name Post slug. |