the answer for all question about Oxygen Builder plugin and WordPress

Hi Everyone,

Hi Everyone,

I would like to clean my media library and trash the unattached images. I have found a function for this: https://gist.github.com/sabrina-zeidan/1c8b86954112b667d731c2b5c29947e3#file-delete_unattached_attachments-php
I have tried to trigger it using wp_head, init or plugin_loaded hooks with no success.
How can I trigger this function in Advanced Scripts? Thank you!



Source

Mega Design Set - 500+ Blocks

Arya Design Set

Leave A Reply

Your email address will not be published.

Oxyrealm Docs OxyMade - Oxygen Builder Design Set Mega collection