Created
February 5, 2015 16:21
-
-
Save fikrirasyid/e64490a0f8784e7d3635 to your computer and use it in GitHub Desktop.
Force All Pages to Use HTTPS Using WordPress HTTPS Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function force_ssl_for_all( $force_ssl, $post_id = 0, $url = '' ){ | |
return true; | |
} | |
add_filter( 'force_ssl', 'force_ssl_for_all', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment