' '.esc_html__('Preloaded assets (.css & .js)', 'wp-asset-clean-up'), 'not_preloaded' => ' '.esc_html__('Not-preloaded (default status) assets (.css & .js)', 'wp-asset-clean-up') ); if (! empty($data['rows_assets'])) { // Sorting: Preloaded and Not Preloaded (standard loading) $rowsAssets = array('preloaded' => array(), 'not_preloaded' => array()); foreach ($data['rows_assets'] as $preloadStatus => $values) { $rowsAssets[$preloadStatus] = $values; } foreach ($rowsAssets as $preloadStatus => $values) { ksort($values); $assetRowsOutput = ''; $totalFiles = 0; $assetRowIndex = 1; foreach ($values as $assetType => $assetRows) { foreach ($assetRows as $assetRow) { $assetRowsOutput .= $assetRow . "\n"; $totalFiles++; } } ?>
This is the list of assets (if any) that were chosen to be preloaded through the <link rel="preload"> tag (any valid option from "Preload (if kept loaded)?" drop-down). Note that the preload option is obviously irrelevant if the asset was chosen to be unloaded. The preload option is ONLY relevant for the assets that are loading in the page.
There are no assets chosen to be preloaded.
This is the list of assets that do not have any preload option added to them which is the default way of showing up on the page.
0) { ?>