PHP code example of pronamic / wp-http-extended-ssl-support
1. Go to this page and download the library: Download pronamic/wp-http-extended-ssl-support library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pronamic / wp-http-extended-ssl-support example snippets
\wp_remote_get(
$url,
[
'ssl_certificate_blob' => '-----BEGIN CERTIFICATE-----', // Must be a full SSL certificate string.
'ssl_key_blob' => '-----BEGIN ENCRYPTED PRIVATE KEY-----', // Must be a full SSL key string.
'ssl_key_password' => 'your-password',
]
);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.