Switch language

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




json_encode [ WordPress Function ]

json_encode ( $string )
Defined at:



No description yet.

Source


<?php
function json_encode$string ) {
        global 
$wp_json;

        if ( !
is_a($wp_json'Services_JSON') ) {
            require_once( 
ABSPATH WPINC '/class-json.php' );
            
$wp_json = new Services_JSON();
        }

        return 
$wp_json->encodeUnsafe$string );
    }
}
?>

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