~/talk

Hookup with WordPress

Talkat WordCamp Singapore 2016 · on Tuesday, 2016-09-06· [php, developer-experience]
slides:none on file

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

  1. 0:00Start
  2. 7:20ADDING ACTION HOOK
  3. 14:56REMOVING FILTER HOOK
  4. 18:59DESCRIPTIVE HOOK NAME SUPPLEMENT AN OPERATION
  5. 19:53KEEP THE LOGIC SEPARATE
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.