This seems like simple thing but I need way to determine whether the current screen is for Add New or Edit ( a sort of wordpress admin conditional tag). Is there a built in function for this already, or ... any idea how to accomplish?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
here is a function that i have:
Usage the usage is simple just like any other conditional tag , few examples: check for new or edit page:
check for new post page:
check for edit post page:
combine this with a
|
|||||
|