Get notifications about adding and modifying the object.

MPCEObjectCreated event fires after widget was added to stage. Example of adding the object:

$('body').on('MPCEObjectCreated', function(event, wrapper, shortcodeName){
    /* callback */
});

MPCEObjectUpdated event fires after widget was changed. Example of editing the object:

$('body').on('MPCEObjectUpdated', function(event, wrapper, shortcodeName){
    /* callback */
});

where wrapper – is HTML element that includes whole rendered shortcode.

Responses

We want to make our product better, so will be glad to receive your feedback and improve MotoPress specially for you! Leave a message below, make your voice heard!