WordPress - Funções Úteis

Beschreibung

Karteikarten am WordPress - Funções Úteis, erstellt von Henrique Silvério am 15/01/2017.
Henrique Silvério
Karteikarten von Henrique Silvério, aktualisiert more than 1 year ago
Henrique Silvério
Erstellt von Henrique Silvério vor fast 8 Jahre
0
0

Zusammenfassung der Ressource

Frage Antworten
wp_json_encode( $data, $options, $depth ) Encode a variable into JSON, with some sanity checks.
wp_send_json( $response ) Send a JSON response back to an AJAX request, and die().
wp_send_json_success( $data ) Send a JSON response back to an Ajax request, indicating success. The response object will always have a success key with the value true. If anything is passed to the function it will be encoded as the value for a data key.
wp_send_json_error( $data ) Send a JSON response back to an Ajax request, indicating failure. The response object will always have a success key with the value false. If anything is passed to the function in the $data parameter, it will be encoded as the value for a data key.
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

MUNDO MARKETING DIGITAL PARA AFILIADOS
Adilio Costa
Criando site totalmente grátis em 2018
Felipe Carvalho
Wordpress
TACIO WALDETARIO
Blog estrutura
Leandro Florence
Wordpress
Alan Canuto
Curso de WordPress
Antonio Urbano
Desenvolvimento e Implementação
Vanessa Dias
MUNDO MARKETING DIGITAL PARA AFILIADOS
Roberto Simao
1_MUNDO MARKETING DIGITAL PARA AFILIADOS
Adilio Costa
MUNDO MARKETING DIGITAL PARA AFILIADOS
Oliver Conc
MUNDO MARKETING DIGITAL PARA AFILIADOS
Diogo Chrispim De Souza