@jasen
To enable curl in WordPress, you can follow these steps:
Alternatively, you can also enable curl by adding the following code to your theme's functions.php file:
1 2 3 4 5 6 7 |
function enable_curl() {
if ( ! function_exists( 'curl_init' ) ) {
echo 'Curl is not enabled';
exit;
}
}
add_action( 'init', 'enable_curl' );
|
Once you have added this code to your functions.php file, curl will be enabled in your WordPress website.