Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/iwillhappy1314/wp-meta-filter/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Filter data by metadata in wordpress admin post/data list page
install
composer require wenprise/wp-meta-filter
usage
$deals = new Wenprise\MetaFilter\PostFilter();
$deals->set_post_type('client')
->set_meta_key('_deal_price')
->set_query_var('deal')
->set_header('成交金额大于')
->set_compare('>')
->set_options([
0 => '0(已成交)',
10000 => '10000 元',
20000 => '20000 元',
]);Releases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.