| @@ -1,10 +1,10 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace FilterEverything\Filter; |
| 4 | 4 | |
| 5 | -if ( ! defined('WPINC') ) { | |
| 6 | - wp_die(); | |
| 5 | +if ( ! defined('ABSPATH') ) { | |
| 6 | + exit; | |
| 7 | 7 | } |
| 8 | 8 | |
| 9 | 9 | interface Entity |
| 10 | 10 | { |
| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | function populateTermsWithPostIds( $setId, $post_type ); |
| 18 | 18 | |
| 19 | 19 | function getTermId($slug); |
| 20 | 20 | |
| 21 | - function setExcludedTerms( $excludedTerms ); | |
| 21 | + function setExcludedTerms( $excludedTerms, $isInclude ); | |
| 22 | 22 | |
| 23 | 23 | public function getTermsForSelect(); |
| 24 | 24 | |
| 25 | 25 | public function getTerms(); |