Skip to content

Instantly share code, notes, and snippets.

@rafaehlers
Created November 23, 2016 17:01
Show Gist options
  • Save rafaehlers/dbbf9bd8db6033cc54689fdd31be541d to your computer and use it in GitHub Desktop.
Save rafaehlers/dbbf9bd8db6033cc54689fdd31be541d to your computer and use it in GitHub Desktop.
How To Change The 'Entry Updated. Return to Entry' Message
add_filter( 'gravityview/edit_entry/success', 'gv_edit_entry_success', 10, 4 );
function gv_edit_entry_success( $entry_updated_message , $view_id, $entry, $back_link ) {
$message = 'Product Updated. <a href="'.$back_link .'">Return to product's details page.</a>';
return $message;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment