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

ayezee33
ayezee33
16,096 Points

Stuck on question in how to make a WordPress plugin course

The question is Inside of the my_plugin_get_profile function, create a variable named "json_feed_url" that concatenates the domain name http://myapi.net with the my_plugin_username variable and appends ".json" to the end.

My code is

<?php

function my_plugin_get_profile($my_plugin_username) { $json_feed_url = 'http://myapi.net/' . $my_plugin_username . '.json' }; ?>

It's not passing and I can't understand why.

Look carefully at where you have placed your semicolon. :)