$key, 'default' => $default ) ); if ( is_string( $text ) && ! empty( $text ) ) { return trim($text); } return __( $default, $textDomain ); } };