Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




force_ssl_login [ WordPress Function ]

force_ssl_login ( $force = null )
Parameters:
  • (string|bool) $force Optional.
Returns:
  • (bool) True if forced, false if not forced.
Defined at:



Whether SSL login should be forced.

Source


<?php
function force_ssl_login$force null ) {
    static 
$forced false;

    if ( !
is_null$force ) ) {
        
$old_forced $forced;
        
$forced $force;
        return 
$old_forced;
    }

    return 
$forced;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics