Assets Documentation

assets_delete_folder

This hook is called right before deleting a folder in Assets.

Hook Parameters

$folder_row An StdClass object, representing the folder row that is about to get delete.

Notes

When deleting a folder, it's files are deleted first (each triggering a call to assets_delete_file hook) and then it's subfolders are deleted (triggering assets_delete_folder recursively) and only then is this hook called. That means that, when this hook is called, the folder in question is already empty of any files and subfolders.

Support

Having problems setting up and/or using Assets? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.