wpc_add_settings_nav
“wpc_add_settings_nav” action hook that allow to add navigation on WPCargo settings page.
add_action('wpc_add_settings_nav','custom_add_settings_nav_cb'); function custom_add_settings_nav_cb(){ $view = sanitize_text_field($_GET['page']); ?> <a class="nav-tab <?php echo ($view == 'wpcpm-settings') ? 'nav-tab-active' : '' ; ?>" href="<?php echo admin_url().'admin.php?page=wpcpm-settings'; ?>" ><?php echo wpcpm_parcel_mgt_settings_label(); ?></a> <?php }