@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Flynt\Features\TinyMce; |
4 | 4 | |
5 | -use Flynt\Utils\Feature; |
|
6 | 5 | use Flynt\Utils\Asset; |
7 | 6 | |
8 | 7 | // Load TinyMCE Settings from config file |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Flynt\Features\BaseStyle; |
4 | 4 | |
5 | -use Timber\Timber; |
|
6 | -use Flynt\ComponentManager; |
|
7 | - |
|
8 | 5 | if (current_user_can('editor') || (WP_ENV !== 'production')) { |
9 | 6 | add_filter('init', 'Flynt\Features\BaseStyle\registerRewriteRule'); |
10 | 7 | add_filter('template_include', 'Flynt\Features\BaseStyle\templateInclude'); |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Flynt\Features\YoutubeNoCookieEmbed; |
4 | 4 | |
5 | -use Flynt\Utils\Oembed; |
|
6 | - |
|
7 | 5 | add_action('oembed_result', 'Flynt\Features\YoutubeNoCookieEmbed\setNoCookieDomain', 10, 2); |
8 | 6 | add_filter('embed_oembed_html', 'Flynt\Features\YoutubeNoCookieEmbed\setNoCookieDomain', 10, 2); |
9 | 7 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Flynt\Features\PasswordForm; |
4 | 4 | |
5 | 5 | use Timber\Timber; |
6 | -use Timber\Post; |
|
7 | 6 | |
8 | 7 | add_filter('the_password_form', function ($output) { |
9 | 8 | $context = Timber::get_context(); |