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

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • 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
    51,094 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
    51,094 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.

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.