Run function on Add new post button

Question

I have a php function for populating some fields on the edit post page.
I want to run this function when the user clicks the Add New button on posts page.
Or maybe create a new button to run my function and navigate to the new post page?

Is it possible?

0
marissalianam 1 month 0 Answers 40 views 0

Leave an answer