PluginProbe
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More / 2.6.1
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More v2.6.1
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.10 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 47 releases
← All changes | classes/Controllers/Frontend/Restrictions.php +4 -0 2.0.42.6.1 View file →
@@ -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 }