~/talk

Capability-Driven Development

Talkat WordCamp Noord-Nederland 2018 · 2018-02-09..02-10· [wordpress, security]
links:none on file
slides:none on file

Explains using WordPress Capabilities API to gate plugin features by building a demo plugin with a custom post type and settings page, using current_user_can, user_has_cap and map_meta_cap filters to map meta capabilities to primitive ones stored in the options table; shows how custom capability strings avoid colliding with core, how to grant fallback access (map manage_options to manage_ct_options), and how to require manage_network_options for a single rewrite-slug option so only network admins can edit it.

AI-written summary · about

~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.