Skip to main content
Just a small typo, you used a colon (:) where there should be a semi-colon (;) and added a link to the reference on this function.
Source Link

So I found the solution, Callbackcallback function for when post or page is:

jQuery(document).on('heartbeat-tick.autosave', function( event, data ) {
    // your code here
}):;

This uses the Wordpress Heartbeat API.

So I found the solution, Callback function for when post or page is:

jQuery(document).on('heartbeat-tick.autosave', function( event, data ) {
//your code here
}):

So I found the solution, callback function for when post or page is:

jQuery(document).on('heartbeat-tick.autosave', function( event, data ) {
    // your code here
});

This uses the Wordpress Heartbeat API.

Source Link

So I found the solution, Callback function for when post or page is:

jQuery(document).on('heartbeat-tick.autosave', function( event, data ) {
//your code here
}):