Filters a URL and formats it as https if necessary (is_ssl() and force_ssl_content() are both true).
<?php filter_SSL( $url ) ?>
<?php $url = 'http://example.com/'; $url = filter_SSL( $url ); echo $url; // 'https://example.com/' or 'http://example.com/' as needed. ?>
Since: 2.8.5
filter_SSL() is located in wp-includes/ms-functions.php