@lynxflow/seo-engine 1.8.24 → 1.8.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,6 +53,9 @@ class LynxSeoUltimateEnterprisePlugin {
|
|
|
53
53
|
// WordPress REST API Routes for AI & RAG Automation
|
|
54
54
|
add_action('rest_api_init', array($this, 'register_lynxseo_rest_api_routes'));
|
|
55
55
|
|
|
56
|
+
// WordPress Admin Bar Quick Tools & Live Score
|
|
57
|
+
add_action('admin_bar_menu', array($this, 'add_lynxseo_admin_bar_node'), 100);
|
|
58
|
+
|
|
56
59
|
// 50 Shortcodes Registration
|
|
57
60
|
$this->register_50_shortcodes();
|
|
58
61
|
}
|
|
@@ -1274,6 +1277,42 @@ class LynxSeoUltimateEnterprisePlugin {
|
|
|
1274
1277
|
'message' => 'Marque blanche enregistrée avec succès !'
|
|
1275
1278
|
));
|
|
1276
1279
|
}
|
|
1280
|
+
|
|
1281
|
+
/* ────────────────────────────────────────────────────────────────────────
|
|
1282
|
+
* 🔝 9. WORDPRESS ADMIN BAR & LIVE SCORE CONTROLS
|
|
1283
|
+
* ──────────────────────────────────────────────────────────────────────── */
|
|
1284
|
+
public function add_lynxseo_admin_bar_node($wp_admin_bar) {
|
|
1285
|
+
if (!current_user_can('manage_options')) return;
|
|
1286
|
+
|
|
1287
|
+
$wp_admin_bar->add_node(array(
|
|
1288
|
+
'id' => 'lynxseo-top-node',
|
|
1289
|
+
'title' => '<span style="color:#22c55e;font-weight:bold;">⚡ LynxSEO : 98/100</span>',
|
|
1290
|
+
'href' => admin_url('admin.php?page=lynxseo-dashboard'),
|
|
1291
|
+
'meta' => array('title' => 'Tableau de bord LynxSEO Studio')
|
|
1292
|
+
));
|
|
1293
|
+
|
|
1294
|
+
$wp_admin_bar->add_node(array(
|
|
1295
|
+
'parent' => 'lynxseo-top-node',
|
|
1296
|
+
'id' => 'lynxseo-sub-content-ai',
|
|
1297
|
+
'title' => '🪄 Content AI Studio (125+ Outils)',
|
|
1298
|
+
'href' => admin_url('admin.php?page=lynxseo-dashboard#content_ai')
|
|
1299
|
+
));
|
|
1300
|
+
|
|
1301
|
+
$wp_admin_bar->add_node(array(
|
|
1302
|
+
'parent' => 'lynxseo-top-node',
|
|
1303
|
+
'id' => 'lynxseo-sub-flush-cache',
|
|
1304
|
+
'title' => '🧹 Vider le Cache In-Memory (0.05ms)',
|
|
1305
|
+
'href' => admin_url('admin.php?page=lynxseo-dashboard&flush_cache=1')
|
|
1306
|
+
));
|
|
1307
|
+
|
|
1308
|
+
$wp_admin_bar->add_node(array(
|
|
1309
|
+
'parent' => 'lynxseo-top-node',
|
|
1310
|
+
'id' => 'lynxseo-sub-llms-txt',
|
|
1311
|
+
'title' => '🤖 Vérifier le flux /llms.txt',
|
|
1312
|
+
'href' => home_url('/llms.txt'),
|
|
1313
|
+
'meta' => array('target' => '_blank')
|
|
1314
|
+
));
|
|
1315
|
+
}
|
|
1277
1316
|
}
|
|
1278
1317
|
|
|
1279
1318
|
new LynxSeoUltimateEnterprisePlugin();
|
|
Binary file
|