true)); // Hide hardcoded irrelevant post types foreach (\WpAssetCleanUp\MetaBoxes::$noMetaBoxesForPostTypes as $noMetaBoxesForPostType) { unset($postTypesList[$noMetaBoxesForPostType]); } ?>
;
>
>
|
|
If you are logged in, this will make the list of assets show below the page that you view (either home page, a post or a page).
>
The area will be shown through the >
Example: If the URI contains et_fb=1 which triggers the front-end Divi page builder, then you can specify it in the list above (it's added by default) to prevent the asset list from showing below the page builder area. |
|
|
'administrator',
'orderby' => 'user_nicename',
'order' => 'ASC'
);
$users = get_users( $args );
?>
class="wpacu_hide"
id="wpacu-allow-manage-assets-to-select-list-area">
This is a multiple selection drop-down. If nothing is chosen from the list, it will default to "any administrator".
Some people that have admin access might be confused by the CSS/JS manager (which could be for the developer of the website). If they are mostly editing articles, updating WooCommerce products and so on, there's no point for them to keep seeing a cluttered edit post/page with CSS/JS assets that can even be changed by mistake. You can leave this only to the developers with "administrator" roles. |
|
|
: |
|
|
|
|
|
|
|
etc. | |
Allow to anonymously track plugin usage in order to help us make the plugin better? No sensitive or personal data is collected. What kind of data will be sent for the tracking? | |
Read more | |
day(s)
This is relevant in case there are alterations made to the content of the CSS/JS files via minification, combination or any other settings that would require an update to the content of a file (e.g. apply "font-display" to @font-face in stylesheets). When the caching is cleared, the previously cached CSS/JS files stored in that are older than (X) days will be deleted as they are outdated and likely not referenced anymore in any source code (e.g. old cached pages, Google Search cached version etc.). Read more
|
|
If you wish to prevent Asset CleanUp Pro from triggering on certain pages (except the Dashboard) or group of pages for any reason (e.g. incompatibility with another plugin), you can specify some URI patterns in the following textarea (one per line), just like the examples shown below:
You can either use specific strings or patterns (the # delimiter will be automatically applied to the
|