The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
37 views

Remotely get WordPress theme version

I'm using wp_remove_get to get the WordPress theme style content (style.css) and then get the theme version number. However I don't know exactly what regex I should use to get the version code: ...
0
votes
2answers
1k views

AJAX request not routing through proxy

I've built a plugin that uses AJAX to post a URL to the URL2PNG API and bring back a screenshot into WordPress via wp_remote_get. It works beautifully in my development environment. In production, ...
1
vote
1answer
52 views

What's a simple but secure method to get file contents into WordPress?

The scenario I'm developing a plugin, and part of it requires lots of text content (help descriptions) that I would prefer to keep as separate text files (in a subdirectory within the plugin) for ...
1
vote
1answer
361 views

HTTP request on localhost failing

I have a Wordpress instance on my development box with the WP REST API plugin installed. I am attempting to create my own plugin to use wp_remote_get() to communicate with my own custom PHP ...
0
votes
1answer
373 views

calling admin-ajax.php from admin-ajax.php

I'm writing a plugin that calls the output of another plugin's ajax, which is set-up at wp_ajax_ I would have called the functions directly, but limitations in the plugin make that a non-option. To ...
1
vote
0answers
46 views

wp_remote_get() not retrieving pages properly

I am using wp_remote_get() to retrieve different pages from the web. It is a news site. Most of the time, this works successfully. However, sometimes, the request returns either: bad request (code ...
1
vote
0answers
110 views

wp_remote_get sslv3 alert handshake failure

I'm attempting to retrieve remote content with wp_remote_get but I'm getting the following error returned : 'sslv3 alert handshake failure'. I've tried using 'sslverify' => false in the args ...
0
votes
0answers
25 views

Fetch api json data pagination

I'm developing a plugin that needs to fetch all font families list from Adobe Typekit API. I'm using wp_remote_get to accomplish this. $font_list = array(); $fonts_lib = wp_remote_get( ...
0
votes
0answers
21 views

How to create a WP Cron hooks based on schedules from Advanced cron manager plugin?

I need to run the following script once per 24 hours: (1) http:domain.com/wp-cron.php?import_key=Iq_GCn7v0&import_id=36&action=trigger the following one to run after the above, once or twice ...
0
votes
0answers
286 views

Getting error while installing wp_remote_get plugin

I Use a VPS centos 6.6, and wordpress version is 4.2.2, i have cURL installed and php-common installed and enabled on my server, but when i try to active the wp_remote_get plugin i receive the below ...
0
votes
0answers
184 views

Is it possible to load an admin page inside a thickbox?

I'm currently trying to load a custom made admin page inside a thickbox. It's for creating new users with loads of extra custom data and none of the stuff I don't care about. Administrators can ...
0
votes
0answers
45 views

Should I use transients for these API call results?

I am consuming an API that gives me a list of people and their profiles. My initial idea was working perfectly fine when it's just the list of people because I was just saving the ids and names using ...
0
votes
0answers
644 views

wp_remote_get() never fires

I am quite familiar with the wp_remote_get() function. However, this one is blowing my mind. Here is my code to call the url: // data to send in our API request $api_params = array( ...
0
votes
0answers
55 views

saving file to external server vip

I have a handwritten script that writes a text file locally in one of my Wordpress pages, but now I need it to read and write to a remote server that is password protected and accessible only through ...
0
votes
0answers
876 views

How to use wp_remote_get in place of file_get_contents?

I am trying to implement this plugin( http://wp.tutsplus.com/tutorials/creative-coding/creating-a-simple-backuprestore-settings-feature/ ) with my theme. Everything's working great. but the problem is ...