I have some sort of custom post type and I want to limit its functionality to backend only. What I exactly need is to have a custom button instead of Publish button on edit screen. The custom button will generate a pdf file instead of creating a post link. I already know how to generate a pdf and I tried to combine it with a custom meta box but it saves the post as draft. I think I need to extend the wordpress post edit class with own custom class but I can’t find that class. Please guide me.

Read more here: How to alter WordPress publish post process?


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: