diff --git a/includes/MslsAdminIcon.php b/includes/MslsAdminIcon.php
index ec101203..bfec183a 100644
--- a/includes/MslsAdminIcon.php
+++ b/includes/MslsAdminIcon.php
@@ -228,16 +228,7 @@ public function get_a(): string {
*/
public function get_icon(): string {
if ( 'flag' === $this->iconType ) {
- /**
- * Use your own filename for the flag-icon
- * @since 2.6.1
- *
- * @param MslsAdminIcon $icon
- * @param string $language
- */
- $icon = apply_filters( 'msls_options_admin_get_flag_icon', $this, $this->language );
-
- return sprintf( '%s',
+ return ! is_string( $this->language ) ? '' : sprintf( '%s',
( new IconSvg() )->get( $this->language ),
$this->language
);