close
Skip to content

Feedback - Improper demonstration of functions file in demonstration on Beginner WordPress Developer / Action Hooks #2842

Description

@mikeritter

Type of feedback

//content

Description

The Action Hook example in the module demonstrates adding the hook to TwentyTwentyfour theme functions.php file which is bad practice. While extending a parent theme is outside the scope of this introductory module and the example is quickly demonstrable, this example is presented without any warning how directly editing a theme's files instead of extending it will break. Much better to demonstrate the proper method through a plugin as was already demonstrated in the course.

View at https://learn.wordpress.org/lesson/action-hooks/

Step-by-step reproduction instructions (optional)

Screenshots or screen recording (optional)

Other information (optional)

Metadata

Metadata

Labels

[Content] FeedbackFeedback provided about content on Learn.

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions