@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Flynt\Features\Acf; |
4 | 4 | |
5 | -use RecursiveDirectoryIterator; |
|
6 | 5 | use ACFComposer\ACFComposer; |
7 | 6 | use Flynt\Utils\ArrayHelpers; |
8 | 7 | use Flynt\Utils\FileLoader; |
@@ -11,9 +11,7 @@ |
||
11 | 11 | use ACFComposer; |
12 | 12 | use Flynt\ComponentManager; |
13 | 13 | use Flynt\Features\AdminNotices\AdminNoticeManager; |
14 | -use Flynt\Features\CustomPostTypes\CustomPostTypeRegister; |
|
15 | 14 | use Flynt\Utils\Feature; |
16 | -use Flynt\Utils\FileLoader; |
|
17 | 15 | use Flynt\Utils\StringHelpers; |
18 | 16 | |
19 | 17 | class OptionPages |
@@ -2,11 +2,8 @@ |
||
2 | 2 | namespace Flynt\Components\ListProducts; |
3 | 3 | |
4 | 4 | use Flynt\Features\Components\Component; |
5 | -use Flynt\Utils\Feature; |
|
6 | 5 | use Flynt\Features\Acf\OptionPages; |
7 | 6 | use Timber\Timber; |
8 | -use Timber\Post; |
|
9 | -use Flynt\Utils\Log; |
|
10 | 7 | |
11 | 8 | add_filter('Flynt/addComponentData?name=ListProducts', function ($data) { |
12 | 9 | $defaultCount = OptionPages::getOption('globalOptions', 'customPostType', 'product', 'defaultProductsNumber'); |