Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/url is accessable via ssl

This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use any of these functions instead.


Determines if the blog can be accessed over SSL.

Determines if blog can be accessed over SSL by using cURL to access the site using the https in the siteurl. Requires cURL extension to work correctly.


<?php url_is_accessable_via_ssl$url ); ?>


(string) (required)
Default: None

Return Values

Whether SSL access is available

Change Log

Source File

url_is_accessable_via_ssl() is located in wp-includes/functions.php