Final. Deploy ready счетчики
This commit is contained in:
parent
16015536a9
commit
1d9b6c4e4d
@ -1012,11 +1012,10 @@ function dekart_acf_delete_json($post_id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ─────────────────────────────────────────────────────────────
|
// ─────────────────────────────────────────────────────────────
|
||||||
// Счетчики — централизованное управление (Настройки → Счетчики)
|
// Счетчики — централизованное управление (ТОП-меню)
|
||||||
// ─────────────────────────────────────────────────────────────
|
|
||||||
add_action('admin_menu', 'dekart_counters_menu');
|
add_action('admin_menu', 'dekart_counters_menu');
|
||||||
function dekart_counters_menu() {
|
function dekart_counters_menu() {
|
||||||
add_options_page('Счетчики', 'Счетчики', 'manage_options', 'dekart-counters', 'dekart_counters_page');
|
add_menu_page('Счетчики', 'Счетчики', 'manage_options', 'site-analytics-settings', 'dekart_counters_page', 'dashicons-chart-bar', 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
add_action('admin_init', 'dekart_counters_settings');
|
add_action('admin_init', 'dekart_counters_settings');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user