You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this addition. Using the class in this manner resulted in a fatal error : Fatal error: Uncaught Error: Access to undeclared static property: WeDevs_Settings_API::$instance
Which was solved by declaring the property in the class first like
private static $instance;
I cloned this repo and replaced the oop-example include with the procedural file and it does not work.
The way that you just create a new instance make no sense to me but I have not looked at now the class works.
You should actually test it and include a test that is executed by default for it.
The text was updated successfully, but these errors were encountered: