' . $message . '
' ) : ''; /* translators: %1$s: HTML, %2$s: HTML, %3$s: HTML */ $blocked_message = strpos( $error_body, 'MalCare' ) ? sprintf( __( 'Sorry for the inconvenience, but your website seems to be having trouble connecting to our licensing system. %1$s Please open a technical %2$ssupport ticket%3$s and share the server\'s outgoing IP address.', 'cartflows-pro' ), '', '', '' ) : ''; $result['error'] = true; $result['error_message'] = $error_message . '' . $blocked_message; $result['error_code'] = wp_remote_retrieve_response_code( $response ); } else { $result['response_code'] = wp_remote_retrieve_response_code( $response ); } return $result; } /** * Prepare product id in lower case. Database Keys should be in lowercase. * * @since 1.11.1 */ public function get_clean_product_id() { return strtolower( str_ireplace( array( ' ', '_', '&', '?', '-' ), '_', CARTFLOWS_PRO_PRODUCT_ID ) ); } } /** * Initialize class object with 'get_instance()' method */ CartFlows_Pro_Licence::get_instance(); endif;