How to init BP before visit admin
-
Hi,
I’m writing a WordPress/Buddypress installation script in bash with wp-cli.
The script installs a few plugins including buddypress.
After installing the plugins, the script needs to get the buddypress pages ids (activity, members, register…), but it seems that they are created only when the site admin logs in for the first time.
Is there a way to manually register these pages so that I could do this using wp-cli (or simple bash)?Thanks in advance.
regards
- You must be logged in to reply to this topic.