![]() |
Post delete hook question.
Ok, search revealed nothing, so I ask...
I have been trying to utilize editpost_delete_complete to process records in a custom table that reference the deleted post. However, it never fires, or I'm not using the right varname to get the deleted postid. I've tried $postinfo['postid'], $post['postid'], and $postid. Heck, I may not even be using the right hook, I don't know. Any help would be appreciated. |
Might be scope. Are you using $postinfo['postid'] inside a function? If so, try globaling $postinfo like so inside the function:
Code:
global $postinfo; |
All times are GMT. The time now is 06:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|