diff --git a/includes/class-wordpress-plugin-template-settings.php b/includes/class-wordpress-plugin-template-settings.php index 3015a12..0a8d985 100644 --- a/includes/class-wordpress-plugin-template-settings.php +++ b/includes/class-wordpress-plugin-template-settings.php @@ -177,6 +177,8 @@ public function add_settings_link( $links, $file ) { */ private function settings_fields() { + $settings = array(); + /* $settings['standard'] = array( 'title' => __( 'Standard', 'wordpress-plugin-template' ), @@ -304,9 +306,7 @@ private function settings_fields() { ); */ - $settings = apply_filters( $this->parent->_token . '_settings_fields', $settings ); - - return $settings; + return apply_filters( $this->parent->_token . '_settings_fields', $settings ); } /**