sh = $sh; // How do we register this to the settings array? $sh->registerSettingsTab( array( "slug" => "debug", "name" => __( "Debug", "simple-history" ), "function" => array( $this, "output" ) ) ); // add_action( 'simple_history/enqueue_admin_scripts', array( $this, 'on_admin_enqueue_scripts' ) ); } /* public function on_admin_enqueue_scripts() { $file_url = plugin_dir_url( __FILE__ ); wp_enqueue_script( "google-ajax-api", "https://www.google.com/jsapi" ); wp_enqueue_style( "simple_history_SettingsStatsDropin", $file_url . "SimpleHistorySettingsStatsDropin.css", null, SIMPLE_HISTORY_VERSION ); } */ public function output() { include SIMPLE_HISTORY_PATH . "templates/template-settings-tab-debug.php"; } }