PluginProbe
Filter Everything — WordPress & WooCommerce Filters / 1.9.5
Filter Everything — WordPress & WooCommerce Filters v1.9.5
1.9.6 1.9.5 1.9.4 1.9.3 1.9.2.2 1.9.2.1 trunk 1.2.1 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.4.1 1.4.4 1.4.5 1.4.8 1.4.9 1.5.0 1.5.1 1.6.0 1.6.1 1.6.2 1.6.3 All 51 releases
filter-everything / src / Entities / Entity.php

Entity.php in Filter Everything — WordPress & WooCommerce Filters 1.9.5, at src/Entities/Entity.php

33 lines 589 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FilterEverything\Filter;
4
5 if ( ! defined('ABSPATH') ) {
6 exit;
7 }
8
9 interface Entity
10 {
11 function getName();
12
13 function getAllExistingTerms( $force );
14
15 function addTermsToWpQuery($a, $b);
16
17 function populateTermsWithPostIds( $setId, $post_type );
18
19 function getTermId($slug);
20
21 function setExcludedTerms( $excludedTerms, $isInclude );
22
23 public function getTermsForSelect();
24
25 public function getTerms();
26
27 public function setPostTypes( $postTypes );
28
29 /**
30 * @feature maybe add function to exclude terms
31 * from WP_Query();
32 */
33 }