| 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 |
} |