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 trialLyric Abbott
35,595 Pointshelp
fill in the blank
WordPress plugins use the language ___________
2 Answers
Austin Whipple
29,725 PointsWordPress and its plugins are built using PHP as the server-side language.
Lyric Abbott
35,595 PointsALSO CAN U HELP ME WITH THIS?
Write an empty function named custom_action(). Then hook your function to the "customize_register" action.
MY CODE:
custom_action('customize_register', 'custom_action');
Austin Whipple
29,725 Points<?php function custom_action( ) { } add_action('customize_register', 'custom_action'); ?>
edvincalderon
Courses Plus Student 2,896 PointsGot stuck on this challenge too. This is actually the correct syntax
Line 2 function custom_action( ) { } Line 3 add_action('customize_register', 'custom_action');
The question mark near 'custom_action'); was the issue. It shouldn't be 'custom_action'); ? It should just be 'custom_action');
James Ingmire
11,901 PointsJames Ingmire
11,901 Pointsphp