Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Anyway Gandiwa
    Anyway Gandiwa
    3,017 Points

    Inside of the update function, set a variable named instance to the old_instance parameter. Then use the strip_tags func

    Posted October 27, 2018 10:59am by Anyway Gandiwa
    Anyway Gandiwa
    3,017 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    0 Answers

  • Ashley Chasakwa
    Ashley Chasakwa
    3,525 Points

    Please help do not know what am doing wrong . Below the my_plugin_widget class, add a function named my_plugin_register

    Posted April 21, 2018 7:52am by Ashley Chasakwa
    Ashley Chasakwa
    3,525 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    0 Answers

  • vincent batteast
    vincent batteast
    57,412 Points

    Below the My_Plugin_Widget class, add a function named my_plugin_register_widgets that registers the widget.

    Posted December 12, 2017 1:05pm by vincent batteast
    vincent batteast
    57,412 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    1 Answer

  • Joshua Bowden
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Joshua Bowden
    Full Stack JavaScript Techdegree Graduate 29,312 Points

    Challenge Task 3 of 6: Inside of the update function, set a variable named instance to the old_instance parameter.

    Posted November 15, 2017 4:21pm by Joshua Bowden
    .a{fill-rule:evenodd;}techdegree seal-36
    Joshua Bowden
    Full Stack JavaScript Techdegree Graduate 29,312 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    1 Answer

  • Erin Dawson
    Erin Dawson
    2,473 Points

    Build a Wordpress Plugin Challenge 2 of 6

    Posted August 3, 2017 1:54am by Erin Dawson
    Erin Dawson
    2,473 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    0 Answers

  • Marcel Krijthe
    Marcel Krijthe
    1,215 Points

    What do i do wrong on this piece of code i get a fail message

    Posted June 1, 2017 5:23pm by Marcel Krijthe
    Marcel Krijthe
    1,215 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    0 Answers

  • Kartikey Tanna
    Kartikey Tanna
    4,509 Points

    In step 5, I had the comment from the default widget function copied from the Wordpress Codex. It threw the error!

    Posted September 9, 2015 4:36pm by Kartikey Tanna
    Kartikey Tanna
    4,509 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    0 Answers

  • Bartosz Kubisz
    Bartosz Kubisz
    26,277 Points

    How to Build a Wordpress Plugin. Challenge Task 4 of 6

    Posted August 8, 2015 2:35pm by Bartosz Kubisz
    Bartosz Kubisz
    26,277 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    0 Answers

  • Craig Watson
    Craig Watson
    27,930 Points

    Adding the $args array extract function inside the widget function (wordpress plugin course)

    Posted May 28, 2015 10:48am by Craig Watson
    Craig Watson
    27,930 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    2 Answers

  • Chris Kwong
    Chris Kwong
    10,266 Points

    Stuck on Task 4 of 6 quiz

    Posted February 12, 2015 8:58pm by Chris Kwong
    Chris Kwong
    10,266 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    1 Answer

  • sondus zatar
    sondus zatar
    8,604 Points

    Below the my_plugin_widget function, write out the three additional functions required for creating a widget.

    Posted November 23, 2014 9:16am by sondus zatar
    sondus zatar
    8,604 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    5 Answers

  • Lucien HAMM
    Lucien HAMM
    20,120 Points

    Code challenge step 4 [Wordpress Plugins - Widgets]

    Posted August 8, 2014 4:40pm by Lucien HAMM
    Lucien HAMM
    20,120 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    2 Answers

  • Laura Steiner
    Laura Steiner
    5,062 Points

    Building Widgets code challenge error message tells me to extract args. I have. Help me find my mistake?

    Posted July 12, 2014 6:14am by Laura Steiner
    Laura Steiner
    5,062 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    1 Answer

  • Oshri Biton
    Oshri Biton
    8,943 Points

    Stage 4 - building WP widgets... challenge task 4 of 6

    Posted May 28, 2014 2:25pm by Oshri Biton
    Oshri Biton
    8,943 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    1 Answer

  • Steve Whitmore
    Steve Whitmore
    13,408 Points

    4/6 - WordPress Widgets Code Challenges

    Posted May 20, 2014 5:02pm by Steve Whitmore
    Steve Whitmore
    13,408 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    4 Answers

  • Jason Moore
    PLUS
    Jason Moore
    Courses Plus Student 10,297 Points

    Challenge 4 out of 6 / How to Create WordPress Widgets

    Posted April 28, 2014 4:13pm by Jason Moore
    Jason Moore
    Courses Plus Student 10,297 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    1 Answer

  • Brent Larson
    Brent Larson
    24,505 Points

    Wordpress Widgets Code Challenges Task 4 Bug

    Posted March 4, 2014 5:12am by Brent Larson
    Brent Larson
    24,505 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • WordPress Widgets Code Challenges

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord