Hi
First, don't why but I can't post in the "Litespeed Cache Plugin For WordPress" ...
I'm using Wp cli to manage my WP installs.
So I'm using something like this to install litespeed-cache (It works fine) :
I'm also using this kind of loop to update my sites, and I'd like to load different options depending on if, let's say "cdn_cloudflare" is true in plugin options.
I can see the value using
But sadly I can't find a way to actually retrieve the value as get_options is not returning an array
So if someone has a workaround this would be great !
Thank you
First, don't why but I can't post in the "Litespeed Cache Plugin For WordPress" ...
I'm using Wp cli to manage my WP installs.
So I'm using something like this to install litespeed-cache (It works fine) :
Bash:
if ! $($WP_CLI plugin is-installed litespeed-cache); then
echo "Installing litespeed cache"
$WP_CLI plugin install litespeed-cache --activate
$WP_CLI lscache-admin import_options lscache_options.txt
fi
I can see the value using
Bash:
$WP_CLI lscache-admin get_options
So if someone has a workaround this would be great !
Thank you