wp_back/wp-content/plugins/wp-asset-clean-up/templates/_admin-page-settings-bulk-changes/_regex-unloads.php

21 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2024-05-20 15:37:46 +03:00
<?php
/*
* No direct access to this file
*/
if (! isset($data)) {
exit;
}
?>
<div class="wpacu_clearfix"></div>
<div class="alert">
<div style="margin: 10px 0 0; background: white; padding: 10px; border: 1px solid #ccc; width: 95%; line-height: 22px; display: inline-block;">
<h4 style="margin: 0;">How the list below gets filled?</h4>
This list fills once you choose an CSS/JS asset (handle) to unload through the option "<em>Unload it for URLs with request URI matching this RegEx</em>".
On this page you can edit/remove the rule that was added. If you wish to add new RegEx rules for other CSS/JS files, access the "<em>CSS &amp; JavaScript Load Manager</em>" for a page that loads the targeted file.
</div>
</div>
<div class="wpacu_clearfix"></div>
<p>This feature is available only in the<img style="opacity: 0.6;" width="20" height="20" src="<?php echo esc_url(WPACU_PLUGIN_URL); ?>/assets/icons/icon-lock.svg" valign="top" alt="" /> <a href="<?php echo apply_filters('wpacu_go_pro_affiliate_link', WPACU_PLUGIN_GO_PRO_URL.'?utm_source=plugin_bulk_changes&utm_medium=regex_unloads'); ?>"> Pro version</a>.</p>