Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialCJ Williams
34,372 PointsCreating a Plugin Settings Page 2
I am trying to add the "add_options_page()" funciton in part 3 of 3 on this code challenge and am not sure what I am missing here. Everything up to here seemed pretty straightforward, but I can't seem to get past this. Any help would be awesome.
1 Answer
Johanna Myers
15,172 PointsIf it's the one I think you're referring to I just figured it out:
The challenge asked you to create a function called add_options_page() and echo out "Welcome to our plugin settings page." but what works is if you name the function my_plugin_options_page(). I think they should re-word the question.
Andrew McCormick
17,730 PointsAndrew McCormick
17,730 PointsCJ, please show the code that you are trying and that is not working. thanks Posting code to forum