WP Manifestindependent plugin directory
manifest / admin / wp-meta-filter

WP Meta Filter

Filter data by metadata in wordpress admin post/data list page

★ 0stars
0.0.2latest · 5 years ago

Install

Download source zip No release zip yet

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.zip
No 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.

Tag
Published
0.0.2 latest
Nov 14, 2020 5 years ago
Oct 9, 2020 6 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.