diff --git a/src/settings/page.php b/src/settings/page.php index 23f03a0..8bc734e 100644 --- a/src/settings/page.php +++ b/src/settings/page.php @@ -176,11 +176,6 @@ public function registerSection( $params ) { add_settings_section( $section->get('id'), $section->get('title'), $section->get('callback'), $this->page_slug ); } - public function echoHtml( $html ) { - - echo $html; - } - public function registerField( $key, $params ) { // Add to params array diff --git a/src/util.php b/src/util.php index b6c71a3..8f6e2ec 100644 --- a/src/util.php +++ b/src/util.php @@ -46,18 +46,13 @@ public static function addAction( $hook, $callback, $priority = '', $accepted_ar return add_action( $hook, $callback, $priority, $accepted_args ); } - public static function escapeOutput( $string ) { - - return esc_html( $string ); - } - // // Outputs Localized String // // public static function out( $string ) { - echo ( self::escapeOutput ( $string ) ); + echo ( esc_html( $string ) ); } //