Added a function to check whether 'curl' is present in the existing php configuration: _is_curl_installed()
Separate function might come in handy since there are many instances of curl_init calls.
Used add_error function to display the error message and gracefully handle the exception.
Added a function to check whether 'curl' is present in the existing php configuration: _is_curl_ installed( )
Separate function might come in handy since there are many instances of curl_init calls.
Used add_error function to display the error message and gracefully handle the exception.