$type → last_dispatch, queue oder sent_log
Funktion/Ausführung
Zurücksetzen von Suchauftrags-Eigenschaften beim Aktualisieren per Backend-Formular
| Hook | 
|---|
| immonex_notify_reset_search_request_last_dispatch | 
| immonex_notify_reset_search_request_queue | 
| immonex_notify_reset_search_request_sent_log | 
Parameter
| Name (Typ) | 
|---|
| $search_request_id(int | 
Code-Beispiel
/**
 * [immonex Notify] Action: Vorhande Einträge vor Zurücksetzen Suchauftrags-Versandprotokolls
 * anderweitig speichern.
 */
add_action( 'immonex_notify_reset_search_request_sent_log', 'mysite_save_request_form_sent_log_before_reset' 5 );
function mysite_save_request_form_sent_log_before_reset( $search_request_id ) {
    $sent_log = get_post_meta( $search_request_id, 'immonex_notify_sent_log', true );
    if ( ! empty( $sent_log ) ) {
        // ... Versandprotokolldaten speichern ...
    }
}