All Questions
Tagged with heartbeat-api jquery
3 questions
3
votes
2
answers
549
views
How to link Wordpress heartbeat to ajax form
I have a form that $_POSTs an input value, and user's ID that saves the data to the database:
// frontend form
<form id="form">
<input type="radio" name="location" id="name1" value="1"&...
1
vote
1
answer
362
views
Heartbeat API: How to access data already enqueued?
I'm having problems when trying to access data that I've queued using the Heartbeat API.
I'm queuing data using wp.heartbeat.enqueue(). For example:
var data = {
my_key: 'value'
};
wp.heartbeat....
0
votes
2
answers
341
views
Wordpress Heartbeat API cannot parse data
I want to use WP-API heartbeat to open a connection to two displays and have them reflect what the other is saying with each send and tick.
It used to work when the heartbeat API came out in 3.6 - ...