Use this hook to change the message shown after an entry is deleted from the front-end.
Usage
add_filter('frm_delete_message', 'customize_delete_message', 10, 2);
Parameters
- $message (string)
- $entry (object)
Examples
Customize Deletion Message
add_filter('frm_delete_message', 'customize_delete_message', 10, 2); function customize_delete_message($message, $entry) { if ( $entry->form_id == 216 ) {//Change 216 to the ID of your form $message = 'Item successfully removed from favorites'; } return $message; }
If you would like to add your own example, click here.
Have something to add?
Click here to provide feedback on this page.