' '.esc_html__('Styles & Scripts with at least one rule', 'wp-asset-clean-up'), 'with_no_rules' => ' '.esc_html__('Styles & Scripts without any rules', 'wp-asset-clean-up') ); if (! empty($data['rows_assets'])) { // Sorting: With (any) rules and without rules (loaded and without alterations to the tags such as async/defer attributes) $rowsAssets = array('with_rules' => array(), 'with_no_rules' => array()); foreach ($data['rows_assets'] as $rulesStatus => $values) { $rowsAssets[$rulesStatus] = $values; } foreach ($rowsAssets as $rulesStatus => $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 enqueued CSS & JavaScript files that have AT LEAST ONE RULE applied to them on this page. The rule could be one of the following: unloaded, preloaded, async/defer attributes applied & changed location (e.g. from HEAD to BODY or vice-versa).
No rules were applied to any of the enqueued CSS/JS files from this page.
This is the list of enqueued CSS & JavaScript files that have NO RULES applied to them on this page. They are loaded by default in their original location (e.g. HEAD or BODY) without any attributes applied to them (e.g. async/defer).
0) { ?>