Skip to content

Commit 37dac0a

Browse files
author
Julien Maury
authored
remove fatal error
there is no getInstance() in wrapper.
1 parent d39a9ad commit 37dac0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/procedural-example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function wedevs_admin_init() {
257257
)
258258
);
259259

260-
$settings_api = WeDevs_Settings_API::getInstance();
260+
$settings_api = new WeDevs_Settings_API;
261261

262262
//set sections and fields
263263
$settings_api->set_sections( $sections );

0 commit comments

Comments
 (0)