An application programming interface (API) specifies how some software components should interact with each other. In addition to accessing databases or computer hardware, such as hard disk drives or video cards, an API can be used to ease the work of programming graphical user interface components. ...

learn more… | top users | synonyms

0
votes
1answer
11 views

Woo Commerce api adding global attributes

Im using the API and the woo commerce api library to programmatically add product to woo commerce. I've been able to get everything to work so far for simple products except for bringing in global ...
0
votes
0answers
7 views

API Functions to Register and Show WordPress List Tables

I am developing my own plugin and I am trying to figure out how to add WordPress List Tables to my admin page. I am aware I can write the the HTML myself but if there is an API method this is the most ...
0
votes
0answers
15 views

Woocommerce REST API - Add custom class

I want to create a customized class (let's called it WC_API_My_Product) for WooCommerce API that extends WC_API_Resource, basically it's a copy of WC_API_Products with additional features, so I can ...
0
votes
1answer
24 views

Does the WordPress API have Modal Dialogs

Does the WordPress API have a Modal Dialog like BootStrap does? In my WordPress Plugin admin page - the plugin settings page accessed through the Dashboard - I would like to have modal dialogs appear ...
2
votes
0answers
26 views

Sync posts from one WordPress site to another

I want to achieve the following - I have 2 WordPress sites hosted on different servers. Let's call A as sender site and B as receiver site. Whenever I add/update/delete any post in A, it should be ...
0
votes
1answer
28 views

WordPress keeps autoplaying my Youtube-Links no matter what I write

WordPress (with the LayerSlider plugin) keeps autoplaying my video no matter what code I use. Here's the embed-Link for the video: <iframe width="840" height="473" ...
-2
votes
1answer
9 views

Woocommerce and Suppliers API

So I have an eCommerce store, and I will be using a dropshipper for my products and fulfillment. They've provided me with their API, but what am I suppose to do with that now?
0
votes
1answer
10 views

Example Dashboard Widget, Cancel not working

Working from the Code from Wordpress API Dashboard Widget Example: https://codex.wordpress.org/Example_Dashboard_Widget I am able to build the plugin, the number updates perfectly when I click ...
0
votes
0answers
62 views

Import facebook feed as a post in wordpress with 100,000 of posts

I need to import facebook feed of one of my facebook pages as posts to wordpress site using facebook graphic API. For this purpose I am fetching the json file with all the posts from facebook in it ...
0
votes
1answer
52 views

Wordpress C# User Login

I have a very basic C# login system first i've work with localhost and basic databasebase username-password but now i want to connect my project to my website which is wordpress then i realize ...
1
vote
0answers
7 views

WP Customizer - Prevent live preview

How do I prevent a widget being updated in the customizer preview if a widget field fails a JS validation check? More generally, is there any actual documentation for the customizer JS API? (I mean ...
0
votes
1answer
82 views

Convert HTML5/CSS3 site to Wordpress Theme (need a lot of plugins) or just use the API?

I'm a PHP developer creating a new site with a Wordpress backend. I'm niota Wordpress expert, I've managed to make custom page types in the old site's theme and can manage plugins etc but I'm not an ...
0
votes
0answers
9 views

Generate attachement to Post from featured image

I am using WP-JSON API Plugin. If i choose an image as featured that is allready uploaded in my media library it does not generate attachements Object in JSON like the example bellow. ...
0
votes
1answer
55 views

Return scheduled posts with WP REST API

I'm using WP REST API plugin for a custom web application and I need to get access to the scheduled posts of the target wordpress website. However I can't find any parameter or filter to achieve this ...
0
votes
0answers
35 views

How do I create a custom add media button modal?

I've created a custom media button for the admin in editing posts, but am having trouble figuring out how to create a view for the modal. I'm not trying to insert uploaded media; I'm trying to allow ...
0
votes
0answers
20 views

Given a url, is there an api to tell me if it would 404?

This may seem a duplicate to this question, but it's quite a different context. I have a multi-site that is managed by a Zend Framework application. Users can create their own blogs, which is done by ...
0
votes
0answers
50 views

Access RegOnline API per plugin

I am new and just starting with creating WordPress plugins.What i need to do is to integrate regonline API to WordPress. I would like to get some advice on how to do it correctly. Please find below ...
0
votes
0answers
19 views

Output API response on admin_notices within user_register hook

I am using the hook user_register to execute a function that makes a couple of api calls to do extra stuff on a remote site when a user is created from my wordpress backend. The api returns a response ...
0
votes
0answers
11 views

Update WordPress calendar from other APIs

My client has a holiday property site that he also has on. www.airbnb.com, www.homeaway.com and www.holidaylettings.co.uk If someone registers at any of these places, the calendars at the other ...
0
votes
1answer
14 views

Can a plugin differentiate syndication feeds from actual site views?

Is there anything in the WordPress API that I can use in a plugin to detect whether the current request to WordPress is a pull of the syndication feed -- as opposed to an actual view of the web-site? ...
0
votes
1answer
50 views

Google Places API With ACF [closed]

I'm creating a site that has a Venue custom post type, and one of the custom fields (using advanced custom fields) is the hours of operation for the business. I was going to manually find this ...
0
votes
2answers
33 views

Can i use init hook for API purpose?

My question title might be little confuse. Here is the scenario, For example: I am giving an API service from my wordpress site. Using it others can know few information. Like if they send a User ID ...
1
vote
2answers
115 views

How to get Wordpress Plugins Data in PHP using Plugin API?

I am trying to get the list of Wordpress plugins using the Wordpress Plugin API in a PHP page. Plugin API: http://api.wordpress.org/plugins/info/1.0/ I read lots of articles regarding this but they ...
0
votes
1answer
31 views

What is this HTTP_REFERRER “WordPress/4.1.2”

On our website we have huge traffic with same IP and referrer "WordPress/4.1.2; http://www.xxxx.com". The log line looks like: 62.24.2.2 - - [22/Apr/2015:17:28:15 +0200] "GET ...
0
votes
0answers
44 views

wp.editPost 'API Wordpress' doesn't edit custom fields

When I try to edit custom_fields with wp.editPost. Only edit the other fields, but not custom fields. Custom fields are created again(repeat fields), but will have to be edited. I am looking: ...
1
vote
1answer
76 views

How to build an API as a plugin

I want to create a REST API endpoint for a wordpress site where I can get a JSON response for different queries. I have tried the tutorial here, but I cant seem to figure out how it works. Do I need ...
5
votes
2answers
164 views

Using filters and actions for plugin API?

I want to integrate a public API to a plugin that I develop. The usual way other plugins integrate APIs is to define some functions that can be called by any theme or plugin. However, I think this ...
7
votes
1answer
138 views

Is there a limit on making calls to WordPress.org API's?

I am writing a plugin which makes calls to https://api.wordpress.org/plugins/info/1.0/{slug}.json Is there a limit on making calls to WordPress.org API's? For example once per hour or every 10 ...
0
votes
0answers
53 views

Implementing the wp json-rest api

I have a client that wants to use the wp json-rest api to allow third-party sites to push custom posts (in this case property listings) up to our site. I've been looking at using the wp json-rest ...
0
votes
0answers
97 views

API to push post data to WordPress and populate custom fields

I've been looking around for related posts and such in the codex and other Q&A sites for several hours now, but haven't really come up with much so I thought I'd ask all you fine people out there ...
0
votes
1answer
78 views

Implement External API into Wordpress [closed]

I am trying to implement parts of an external api found here (http://api.football-data.org/alpha/soccerseasons/) into my wordpress theme. However I have no idea to get the data from X to Y. I have ...
5
votes
1answer
134 views

WordPress and multithreading

I'm working on a plugin. I've created an API that reads and writes to a custom table in the DB. This API can be called potentially from N clients simultaneously (and it really happens). I noticed that ...
3
votes
1answer
219 views

Retrieving pages with multiple tags using REST API

I'm having some difficulty understanding syntax to make a call from my application to the wordpress REST API when it it comes to getting pages that contain multiple tags. I have no problem with doing ...
0
votes
0answers
21 views

When is the REST API slated for a merge into core?

I read a few articles from last year that suggest that it was slated for a merge into core with 4.1, but unless I'm missing something, it doesn't seem to be there. (I can't find it in the changelogs, ...
0
votes
1answer
102 views

WP AJAX API with JS file

So I am having a hard time trying to set my contact form working on a theme I am building. It uses JqBootstrapValidation plugin. Someone told me that the reason this is not working is because WP is ...
0
votes
0answers
17 views

Using Customizer value outside WordPress

I'm working on a theme which uses a custom PHP script for contact form. The jQuery sends the form data to the script and the script sends the email. There are some parts of the scripts that should be ...
0
votes
1answer
89 views

Disable requests to api.wordpress.org

I need to suppress outbound requests to api.wordpress.org somehow. They are taking like 1 seconds each and take so many time to load a page when I'm logged as admin. I've searched for some solutions ...
0
votes
1answer
27 views

Integrating a hosted app with wordpress using the API

Say I have a hosted application that I want to tightly integrate with Wordpress to do the following: An admin logs into WP, then clicks on a link and redirects to my website. How can I have this ...
0
votes
0answers
104 views

Wordpress consume and display Rest API with custom url struct

Hi I am writing a plugin for wordpress which needs to display results from an external REST API. I need a brief overview on the best stategy to approach it. I can write all the code etc I just need ...
0
votes
1answer
77 views

Integrate WooCommerce to PromoSoftware Rest API

Hi guys been trying to get WooCommerce to send customer details via API to PromoSoftware Promosoftware api info add_action('woocommerce_thankyou', 'send_order_to_ext'); function ...
2
votes
1answer
29 views

Get Plugin Information from Multiple Sites Externally

I'd like to create a dashboard of sorts of plugins I'm using on multiple sites. I'm able to use get_plugins() to gather the information I want within each site, but how can I make that data accessible ...
0
votes
1answer
77 views

Theme Customizer API Live Preview

I'm having some trouble with getting the text that I type in the input field to appear on the page whilst I type (live preview). When I hit save and refresh, the changes are saved, they just for some ...
0
votes
1answer
140 views

Theme Customization API Changes not Saving

I'm having some trouble using the Theme Customization API for the first time. I'm following a tutorial, but I seem to be doing something wrong. I'm trying to allow users to change text on a page ...
0
votes
0answers
80 views

AdWords API with WP

Does anyone know a moron-proof way or guide to use the Google AdWords API with Wordpress? I can write PHP to a vaguely acceptable level. Just looking to populate a table with some basic live ...
0
votes
0answers
83 views

Insert custom post data in to MailChimp campaign email

I'm interested in injecting custom post type data in to MailChimp emails via their API. A simple undordered list of links to each post. After researching this and reading through MailChimp's ...
1
vote
2answers
94 views

Shortcode API: How to get name that matched shortcode RegEx?

I am looking for a way to reproduce what is described in the documentation: An overloaded shortcode callback. According to the docs, the $atts array will contain the string that matched the shortcode ...
0
votes
0answers
73 views

Can users signup via the new REST API

I am building a mobile app that is a companion to a Wordpress site and will be retrieving and submitting data via a WP plugin built using the new REST API. Users will need to be able to create ...
0
votes
2answers
50 views

Custom permalink structure for remote content pages

I'm trying to create a WordPress site that integrates with a very specific CRM in a remote server. The CRM holds a number of entries that should be displayed on the site, but if possible I'd like to ...
0
votes
0answers
53 views

Handling Massive Amounts of Data in a Wordpress Plugin

I've been working on my own version of a Youtube Post Importer plugin for Wordpress and I've run into a bit of a wall. I'm using the 3rd version of the Youtube Data API seen here ...
1
vote
1answer
253 views

Displaying Content with WP Rest API

I have been spending some time working with the new Rest API. I understand what it is doing but I don't understand how the JSON is used to actually display the content on a page. I have been fooling ...