View Full Version : When is attachdata_postsave hook called?
When is the attachdata_postsave hook in includes\class_dm_attachment.php called?
In 3.8 it was called when attaching a file, but in 4.0 it doesn't seem to be called at all.
Lynne
08-26-2010, 02:03 PM
It looks like it is called when the post is saved. Why do you think it isn't being called? Perhaps your syntax is incorrect for your plugin?
Wouldn't it show an error in this case?
I use errorlog('xbt_attachdata_postsave'); as code and this text is never logged.
Lynne
09-04-2010, 03:14 PM
Don't you mean error_log?
Yes, but even then nothing gets logged.
Lynne
09-16-2010, 06:01 PM
Are you even sure post_save_each_filedata is getting called?
compwhizii
09-18-2010, 02:04 AM
Send an email with vbmail()
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.