Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to init BP before visit admin

  • @fugudesign

    Participant

    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

  • The topic ‘How to init BP before visit admin’ is closed to new replies.
Skip to toolbar