@@ -18,7 +18,9 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Prevent loading the library more than once |
| 20 | 20 | */ |
| 21 | -if( defined( 'AMARKAL_SETTINGS' ) ) return false; |
|
| 21 | +if( defined( 'AMARKAL_SETTINGS' ) ) { |
|
| 22 | + return false; |
|
| 23 | +} |
|
| 22 | 24 | define( 'AMARKAL_SETTINGS', true ); |
| 23 | 25 | |
| 24 | 26 | if(!function_exists('amarkal_add_settings_page')) |
@@ -50,7 +50,6 @@ |
||
| 50 | 50 | * Get a settings page from the list of registered settings pages. |
| 51 | 51 | * |
| 52 | 52 | * @param string $slug |
| 53 | - * @param string $parent_slug |
|
| 54 | 53 | * @return SettingsPage |
| 55 | 54 | * @throws \RuntimeException If no settings page was found for the given slug/parent_slug |
| 56 | 55 | */ |