QM logging not working with a specific action
-
I’m seeing a strange result when trying to log something via QM. I suspect it’s something I’m doing wrong, but I just want to double check with yourself first.
I’m trying to log some debug data into QM using the example code supplied from the QM site…
do_action( 'qm/debug', 'This happened!' );
This is the first line a function called by an
add_action
hook into ‘save_post’. But it never logs anything. I’ve used the same line elsewhere and I get logs, so it’s not my syntax.Are you aware of any reason why this might not happen? Is there something odd about the
save_post
action that would prevent QM from logging?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.