Accessing the MainWP API?

If your building an extension or add on I recommend building it for the forthcoming Beta 4.1 which can be found here and use the referenced code here

1 Like