Login
From:
Wild Wild Wolf
(Uncensored)
subscribe
How to Emulate a Request in WP CLI Shell — Wild Wild Wolf
https://wildwolf.name/how-to-emulate-a-request-in-wp-cli-shell/
links
backlinks
Tagged with:
wordpress
wp-cli
This post explains how to emulate a real request in a WP CLI shell so that all global variables are populated correctly — the same way as if you requested that URL in the browser.
Roast topics
Find topics
Find it!