How do I use the filter to auto add sites

Title.

How do I make use of the filter to auto add websites?

@Jonah_Marsden I’m sorry but could you be a bit more specific as to what you are trying to accomplish & what “filter” are you referring to? Where are you trying to add sites?

1 Like

Hi Jonah, are you referring to the mainwp_addsite filter?

https://mainwp.com/codex/?section=mainwp_addsite

If yes, the filter can be used the same as any other WP filter:

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