• marklaramee

    (@marklaramee)


    I needed a conditional tag to check if I am on a post edit or post new page. It also needed to take the post type as a parameter. I came up with the following function:

    [code moderated per forum rules - please use the pastebin for any code longer than 10 lines]

  • The topic ‘is_post_edit_page conditional tag’ is closed to new replies.