How to echo() or print() from publish_post action?
-
Hi everyone. I just have a question: how can i print some HTML or JavaScript code when publish_post action is fired? It is possible only if i am using die() but that is not a good idea. I need everything to work as usual, but insert some JS code after publish_post fired and access all of the psot data as well. Is it possible?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to echo() or print() from publish_post action?’ is closed to new replies.