25. HTTP REQUESTS
â Not all PHP environments have
cURL installed
â The WP_Http class Standardizes the
HTTP requests for WordPress. Handles
cookies, gzip encoding and decoding,
chunk decodingâŠ
26. HTTP REQUESTS
â Not all PHP environments have
cURL installed
â The WP_Http class Standardizes the
HTTP requests for WordPress. Handles
cookies, gzip encoding and decoding,
chunk decodingâŠ
â wp_remote_* functions provided
33. JSON
â JSON (JavaScript Object Notation)
is the preferred way to exchange data
â PHP 5.2 has json_encode() and
json_decode() functions
34. JSON
â JSON (JavaScript Object Notation)
is the preferred way to exchange data
â PHP 5.2 has json_encode() and
json_decode() functions
â Many WP users are on earlier
versions of PHP
35. JSON
â JSON (JavaScript Object Notation)
is the preferred way to exchange data
â PHP 5.2 has json_encode() and
json_decode() functions
â Many WP users are on earlier
versions of PHP
â WP has a backwards compatibility
layer for PHP < 5.2 (since 2.9)
39. EMAIL
â Sending email sucks
â WP's mail sending functionality
makes it suck less
â Centralizes all email so that it can
be overridden/manipulated by plugins