'; $html .= ! empty( $logo_exists ) ? '
' : ''; $html .= '
'; $html .= '

' . wp_kses_post( $plugin_data['notice_title'] ) . '

'; $html .= ( ! empty( $plugin_data['notice_desc'] ) ) ? '
' . wp_kses_post( $plugin_data['notice_desc'] ) . '
' : ''; if ( ! empty( $dependency_plugins ) || ! empty( $dependency_themes ) ) { $html .= ''; } if ( ! empty( $error_message ) ) { $html .= '
' . esc_attr( $error_message ) . '
'; } $html .= '
'; $html .= '

'; $html .= ( ! empty( $plugin_data['notice_btn_one_title'] ) ) ? '' . esc_html( $plugin_data['notice_btn_one_title'] ) . '' : ''; $html .= ( ! empty( $plugin_data['notice_btn_two'] ) ) ? '' . esc_html( $plugin_data['notice_btn_two_title'] ) . '' : ''; $html .= ( ! empty( $plugin_data['notice_btn_three'] ) ) ? '' . esc_html( $plugin_data['notice_btn_three_title'] ) . '' : ''; $html .= ''; echo wp_kses_post( $html ); } public static function getNotificationData( $key ) { $option_value = get_option( $key ); if ( is_array( $option_value ) ) { return $option_value; } else { return array(); } } }