API entry to get all websites url?

Hi,

I would like to know if there is an existing entry point in MainWP API to get child websites list ?

Thanks.

Hi Joffrey,

Have you checked the mainwp-getsites filter which returns an array of existing sites:
https://mainwp.com/codex/#mainwp-getsites

1 Like

Thanks Bodgan :slight_smile:

I missed the MainWP Codex in the footer.

Your link is very usefull :wink:

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.