I'm trying to debug my logic hook which doesn't appear to be firing. In addition to the title question, will 'die()' statements display to the screen in the before_delete logic hooks or no?
I'm using 6.5.20 on a LAMP stack.
OK after some serious debugging, the answer to the question is no. The record is not marked deleted = 1 until after the logic hook is called. And yes you can see die statements as long as you're in the actual "full form", not if you're operating in just a subpanel.
My issue that prompted this question was an issue I was having in the actual logic_hooks.php call. Boy do I miss compiled languages.
Retrieving data ...