Hookup with WordPress
summary
Claims that hooks let teams push features into large themes safely and modularly, and then demonstrates the actual WordPress APIs: do_action/add_action/apply_filters plus remove_action/remove_filter and using the Code Reference or IDE for docs. Shows concrete examples: registering a 'pokemon' custom post type on the init hook, filtering post_title to a Pokemon style, and stripping nav menu classes. Notes default priority is 10, warns about absurd cases like passing 9999 args, and confirms hooks register and return values as expected.
AI-written summary · about
chapters (5)
- 0:00Start
- 7:20ADDING ACTION HOOK
- 14:56REMOVING FILTER HOOK
- 18:59DESCRIPTIVE HOOK NAME SUPPLEMENT AN OPERATION
- 19:53KEEP THE LOGIC SEPARATE
related talks
01h 02mHacking Wordpress, a Crash Course in Writing Plugins and Widgets
56mUsing WordPress as a Modern Web Dev
54mAdvanced Plugin Creation in WordPress
21mUsing WordPress as a Framework
34mPrepare(): Introducing Novel Exploitation Techniques in Wordpress
46mUnder the Hood of WordPress — Exploring the Engine and Tools
29mState Management with React Hooks
35mNavigating the Hype Driven Frontend Development World
