| @@ -11,8 +11,10 @@ | ||
| 11 | 11 | use ContentControl\Base\Controller; |
| 12 | 12 | use ContentControl\Controllers\Frontend\Restrictions\MainQuery; |
| 13 | 13 | use ContentControl\Controllers\Frontend\Restrictions\QueryPosts; |
| 14 | 14 | use ContentControl\Controllers\Frontend\Restrictions\PostContent; |
| 15 | +use ContentControl\Controllers\Frontend\Restrictions\QueryTerms; | |
| 16 | +use ContentControl\Controllers\Frontend\Restrictions\RestAPI; | |
| 15 | 17 | |
| 16 | 18 | defined( 'ABSPATH' ) || exit; |
| 17 | 19 | |
| 18 | 20 | /** |
| @@ -28,8 +30,10 @@ | ||
| 28 | 30 | public function init() { |
| 29 | 31 | $this->container->register_controllers( [ |
| 30 | 32 | 'Frontend\Restrictions\MainQuery' => new MainQuery( $this->container ), |
| 31 | 33 | 'Frontend\Restrictions\QueryPosts' => new QueryPosts( $this->container ), |
| 34 | + 'Frontend\Restrictions\QueryTerms' => new QueryTerms( $this->container ), | |
| 32 | 35 | 'Frontend\Restrictions\PostContent' => new PostContent( $this->container ), |
| 36 | + 'Frontend\Restrictions\RestAPI' => new RestAPI( $this->container ), | |
| 33 | 37 | ] ); |
| 34 | 38 | } |
| 35 | 39 | } |