diff --git a/typecase.php b/typecase.php index 85c20ec..7e4b3a7 100644 --- a/typecase.php +++ b/typecase.php @@ -438,6 +438,10 @@ public function ui(){ public function display_frontend(){ $fonts = get_option('typecase_fonts'); + if ( empty( $fonts ) || !is_array( $fonts ) || !isset( $fonts[0] ) ) { + return; + } + if( $fonts[0] ){ $apiUrl = &$this->api_url;