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 trial

WordPress How to Build a WordPress Plugin Connecting WordPress Plugins with 3rd Party APIs Parsing JSON Code Challenge: Part 2

Richard Nash
Richard Nash
24,862 Points

having trouble understanding this code challenge...

I really don't know where to even begin... honestly I've been a little lost on all of the wordpress tutorials for the most part... it's all very hazy...

2 Answers

Chris Shaw
Chris Shaw
26,676 Points

Hi Richard,

The task is simply asking you to echo out the name property from the courses object which is already been passed through as part of the task, here's a hint.

$my_plugin_profile->courses[$i];
Richard Nash
Richard Nash
24,862 Points

ahhh... i was over thinking it. i've also gone through some of the earlier courses again and the logic of what is trying to be accomplished is making more sense to me now. thanks Chris :-)