Created
September 7, 2016 04:30
-
-
Save solepixel/6c3b5b4ce55bfb25c4ef2c0734ce88bc to your computer and use it in GitHub Desktop.
ElasticPress arguments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[from] => 0 | |
[size] => 54 | |
[sort] => Array | |
( | |
[0] => Array | |
( | |
[meta_value_num] => Array | |
( | |
[order] => desc | |
[ignore_unmapped] => 1 | |
) | |
) | |
) | |
[query] => Array | |
( | |
[match_all] => Array | |
( | |
) | |
) | |
[filter] => Array | |
( | |
[and] => Array | |
( | |
[0] => Array | |
( | |
[term] => Array | |
( | |
[post_type.raw] => listing | |
) | |
) | |
) | |
) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[post_type] => listing | |
[posts_per_page] => 54 | |
[post_status] => publish | |
[meta_query] => Array | |
( | |
[relation] => AND | |
[0] => Array | |
( | |
[relation] => AND | |
[0] => Array | |
( | |
[key] => _listing_number_bedrooms | |
[type] => numeric | |
[compare] => >= | |
[value] => 5 | |
) | |
[1] => Array | |
( | |
[key] => _listing_number_total_bathrooms | |
[type] => numeric | |
[compare] => >= | |
[value] => 3 | |
) | |
[2] => Array | |
( | |
[key] => _listing_listing_class | |
[compare] => IN | |
[value] => Array | |
( | |
[0] => RE_1 | |
) | |
) | |
[3] => Array | |
( | |
[key] => _listing_status | |
[compare] => IN | |
[value] => Array | |
( | |
[0] => Active | |
) | |
) | |
) | |
[1] => Array | |
( | |
[relation] => OR | |
[0] => Array | |
( | |
[key] => _listing_city | |
[compare] => IN | |
[value] => Array | |
( | |
[0] => PELHAM | |
) | |
) | |
) | |
) | |
[order] => DESC | |
[orderby] => meta_value_num | |
[meta_key] => _listing_price | |
[ep_integrate] => 1 | |
[paged] => 1 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment