[ 'label' => __( 'Dashboard', 'chargeforms' ), 'icon' => 'dashboard' ], 'chargeforms' => [ 'label' => __( 'Forms', 'chargeforms' ), 'icon' => 'feedback' ], 'chargeforms-entries' => [ 'label' => __( 'Entries', 'chargeforms' ), 'icon' => 'list-view' ], 'chargeforms-reports' => [ 'label' => __( 'Reports', 'chargeforms' ), 'icon' => 'chart-bar' ], 'chargeforms-payments' => [ 'label' => __( 'Payments', 'chargeforms' ), 'icon' => 'money-alt' ], 'chargeforms-settings' => [ 'label' => __( 'Global Settings', 'chargeforms' ), 'icon' => 'admin-generic' ], 'chargeforms-tools' => [ 'label' => __( 'Tools', 'chargeforms' ), 'icon' => 'admin-tools' ], 'chargeforms-integrations' => [ 'label' => __( 'Integrations', 'chargeforms' ), 'icon' => 'admin-plugins' ], 'chargeforms-support' => [ 'label' => __( 'Support', 'chargeforms' ), 'icon' => 'sos' ], ]; } public static function render( $active_slug ) { // Rendered unconditionally, even when the top nav bar itself is // switched off below — it's relied on site-wide by every delete // link (.chargeforms-confirm-delete in admin.js), so turning off // the nav must not silently turn off delete confirmation too. self::render_delete_confirm_modal(); if ( ! \ChargeForms\Includes\Settings::get( 'admin_top_nav_enabled', true ) ) { return; } ?>
{title}" entries link straight into the builder. */ private static function render_search_modal() { ?>