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

WP Meta Filter

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

by iwillhappy1314 · github.com/iwillhappy1314/wp-meta-filter

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/iwillhappy1314/wp-meta-filter/archive/refs/heads/master.zip

Readme

wp-meta-filter

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 元',
      ]);

Read the full README on GitHub →

Releases

TagPublished
0.0.2 Nov 14, 2020
0.0.1 Oct 9, 2020

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