Let's do some Socratic questioning! In this talk I inquire into what makes WordPress the highly successful platform that it is. I end up inquiring the filter API WordPress has in place that makes it easy to filter data and investigate potential problems. In doing so, I try to make a case for adding some philosophical literature to your development resources!
16. Timing
The plugins are loaded
WordPress is initialised
The head is rendered
The content is rendered
After
After
do_action(‘plugins_loaded’)
do_action(‘init’)
do_action(‘wp_head’)
apply_filters(‘the content’)
Before
Before
58. Timing
The plugins are loaded
WordPress is initialised
The head is rendered
The content is rendered
After
After
do_action(‘plugins_loaded’)
do_action(‘init’)
do_action(‘wp_head’)
apply_filters(‘the content’)
Before
Before
85. Issues with filters
In WordPress it’s hard to distinguish representation
from raw data, because of reasons.
In WordPress it’s not possible to trust filtered data,
because of reasons.
In WordPress it’s not possible to know when a filter
was applied, because of reasons.
Conclusion