WordPress.org

Ready to get started?Download WordPress

Ideas

Make is_page_template() accept an array of values.

  1. skip405
    Member

    12345

    Right now the function is_page_template() accepts only a string as a parameter. It would be nice if it accepted an array of strings to check against several page templates.

    Similar functionality has been implemented in version 2.5 for the is_page() function.

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    5 Votes
  • Status

    This idea is under consideration