breakpoints->get_active_breakpoints(); // Insert the 'desktop' device in the correct position. if ( array_key_exists( 'widescreen', $breakpoints ) ) { $widescreen_index = array_search( 'widescreen', array_keys( $breakpoints ), true ); $breakpoints = array_slice( $breakpoints, 0, $widescreen_index, true ) + [ 'desktop' => '' ] + array_slice( $breakpoints, $widescreen_index, null, true ); } else { $breakpoints['desktop'] = []; } $breakpoint_classes_map = array_intersect_key( Plugin::$instance->breakpoints->get_responsive_icons_classes_map(), $breakpoints ); /* translators: %1$s: Device Name */ $breakpoint_label = __( '%1$s
Settings added to %1$s device will apply to %2$spx screens and down', 'elementor' ); ?>