|
@@ -5,13 +5,13 @@ |
|
|
block discarded – undo |
|
5
|
5
|
use Flynt\Features\Components\Component; |
|
6
|
6
|
use Flynt\Features\AdminNotices\AdminNoticeManager; |
|
7
|
7
|
|
|
8
|
|
-add_action('wp_enqueue_scripts', function () { |
|
|
8
|
+add_action('wp_enqueue_scripts', function() { |
|
9
|
9
|
Component::enqueueAssets('NavigationBreadcrumb'); |
|
10
|
10
|
}); |
|
11
|
11
|
|
|
12
|
12
|
add_action('admin_init', 'Flynt\Components\NavigationBreadcrumb\addYoastRequiredNotice'); |
|
13
|
13
|
|
|
14
|
|
-add_filter('Flynt/addComponentData?name=NavigationBreadcrumb', function ($data) { |
|
|
14
|
+add_filter('Flynt/addComponentData?name=NavigationBreadcrumb', function($data) { |
|
15
|
15
|
if (checkYoastActivated()) { |
|
16
|
16
|
$data['breadcrumbs'] = getOutput('yoast_breadcrumb'); |
|
17
|
17
|
} |
Please login to merge, or discard this patch.