Hi,
There are two hooks "posted_item'" and "edited_item":
<?php
function cust_after_add_published($item) {
// $item is an array with all the new ad data
// Code here
}
function cust_after_add_edited($item) {
// $item is an array with all the edited ad data. Mind that this is slightly different to the one sent to the other function
// Code here
}
osc_add_hook('posted_item', 'cust_after_add_published');
osc_add_hook('edited_item', 'cust_after_add_edited');
?>
Hope it will be useful for you.
Regards