rsharrer
9/26/2013 - 1:48 PM

Force specific pages to be secure, ssl, https

Force specific pages to be secure, ssl, https

//Force Pages to SSL
function wps_force_ssl( $force_ssl, $post_id = 0, $url = '' ) {
    if ( $post_id == 25 ) {
        return true
    }
    return $force_ssl;
}
add_filter('force_ssl' , 'wps_force_ssl', 10, 3);