@jberg1 sure, for that, I’ll need to add the “apply_filters” function to the $priority parameter which is totally doable and I don’t have any problem with adding it.
If you’re in a hurry and don’t want to wait until I will do the tag update, just edit the plugin in /wp-content/plugins/wp-asset-clean-up/classes/MetaBoxes.php (within addAssetManagerMetaBox() update ‘high’ to ‘low’). When you will re-download the plugin or update to the next tag release and it will overwrite the change, you will just have to use add_filter, just like you mentioned.
I will update the current tag and let you know once I’m done 😉
Thread Starter
jberg1
(@jberg1)
You got it!
I went pro, too.
Thanks again.
@jberg1 as promised, I’ve updated both the Lite and Pro versions (you just have to re-download the tags if you need to have the new changes take effect) to add filters for the Meta Boxes both $context and $priority parameters on the asset list and page options.
So, if you want to change the priority for “Asset CleanUp: CSS & JavaScript Manager” meta box from “high” to “low”, just use the following for either Lite or Pro versions:
add_filter('wpacu_asset_list_meta_box_priority', function ($priority) {
return 'low';
});
Let me know if you have any questions or need further assistance in any way! I’ve tested it several times and it works great 😉