Trying to get admin settings page to show, it's blank

This commit is contained in:
2021-09-14 13:24:22 -06:00
parent dfbad4b488
commit 6913a0ca8f
4 changed files with 13 additions and 2 deletions

View File

@ -48,8 +48,7 @@ class Settings {
*/
public function show_main_settings_page(): string {
$data = array();
$this->localize_script( array() );
$this->localize_script();
ob_start();
echo nmsp_plugin_app()->blade->run( 'admin.settings', $data );