define('WP_HTTP_BLOCK_EXTERNAL', false); // allow external requests define('WP_ACCESSIBLE_HOSTS', 'api.wordpress.org'); // whitelist hosts