Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
317 views
in Q2A Core by
I want to do something before editing a post. When user click on edit button under a post. There are events q_edit, q_edit, c_edit, but they works after edit all.

I need a before edit behavior. How could I simulate that? (I need to do some server-side jobs)
Q2A version: 1.6.3

1 Answer

0 votes
by
selected by
 
Best answer

Guess you need to write a plugin that checks for the "edit" request (probably you can check the URL for: ?state=edit-POSTID).

Then do what you want within your plugin ;)

Regards,
Kai

by
Thanks Kai. That works.
...