FacetWP – attempt to disable sslverify

mgibbs189

{{gist file=”functions.php” lang=”php”}}
<?php

function fwp_disable_sslverify( $args, $url ) {
if ( false !== strpos( $url, ‘facetwp.com’ ) ) {
$args[‘sslverify’] = false;
}
return $args;
}
add_filter( ‘http_request_args’, ‘fwp_disable_sslverify’, 10, 2 );

{{/gist}}