custom admin page using functions.php (3 posts)

  1. kevcpu
    Posted 6 years ago #

    Will the example outlined in, http://codex.wordpress.org/Adding_Administration_Menus, work when you have to create a new admin. page? One of the parameters for add_options_page() calls for a file name but I only have the functions I added to functions.php. What should the parameter list look like in this scenario?

  2. Mark / t31os

    Posted 6 years ago #

    Where does it say it needs a file name?

    Please clarify what you're referring to, do you mean one of the arguments/parameters for add_options_page?

  3. Mark / t31os

    Posted 6 years ago #

    Looking back i think i know what you were getting at, the functions add_%type%_page require a callback function or file..

    The parameter you were referring to before can be passed the URL of a file OR! a function name to act as a callback function.

    Posting incase others stumble onto the thread looking for the answer (and/or incase the original poster never figured it out).. :)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.