'settings', 'name' => esc_html__( 'Notifications', 'activity-track' ), 'content' => ATKAI_Helpers::view( 'html-admin-notifications-set' ), ), array( 'id' => 'stats', 'name' => esc_html__( 'Stats', 'activity-track' ), 'content' => ATKAI_Helpers::view( 'html-admin-notifications-stats' ) ) ); $current_tab = isset( $_GET['tab'] ) ? sanitize_key( wp_unslash( $_GET['tab'] ) ) : $tabs[0]['id']; ?>

$tab ) { $class = ( $tab['id'] == $current_tab ) ? '' : 'hidden'; // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped echo sprintf( '
%3$s
', esc_attr( $tab['id'] ), esc_attr( $class ), $tab['content'] ); // phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped } ?>