Accessing is_multisite() via a Bash script.
-
Hi,
I need to determine via a Bash script, which WordPress folders are multisites. I found this page:
https://developer.www.ads-software.com/reference/functions/is_multisite/
but I don’t know how to incorporate it into a simple Bash script. I appreciate any advice.
I tried adding require_once(“wp-load.php”) in my Bash script, but it didn’t like the syntax. If this worked I was then planning to use the is_multisite() function.
Thanks,
P26
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.