~/talk

WP-CLI for PHP developers

Talkat WordCamp Europe 2023 · 2023-06-08..06-10· [wordpress]
slides:none on file

Demos show using WP-CLI as a PHP developer toolkit: running PHP with eval and eval-file, opening an interactive wp shell, calling WP-CLI from PHP via $(wp …), and using the internal API for formatted log and table output. Examples include option get/update, generating 100 users with WP user generate, exporting to CSV, appending rows, then deleting all non-admin users and re-importing via CSV using PHP file workflows.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:49WP-CLI basics and evil command
  3. 5:55PHP integration with WP-CLI
  4. 9:09Executing PHP files with evil file
  5. 16:32Exporting users to CSV
  6. 23:55Generating CSV with PHP
  7. 30:01Adding feedback to exports
  8. 34:28Running WP-CLI commands from PHP
  9. 41:11Appending data to CSV
  10. 43:18Summary and Q&A
~/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.