Switch language

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




force_ssl_content [ WordPress Function ]

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



Whether to force SSL on content.

Source


<?php
function force_ssl_content$force '' ) {
    static 
$forced_content;

    if ( 
'' != $force ) {
        
$old_forced $forced_content;
        
$forced_content $force;
        return 
$old_forced;
    }

    return 
$forced_content;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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