um_custom_success_message_handler

Hook type

Filter

Description

Add custom success message

Parameters

$success

(string) Message

$updated

(array) Updated data

Usage

<?php add_filter( 'um_custom_success_message_handler', 'function_name', 10, 2 ); ?>

Examples

<?php
add_filter( 'um_custom_success_message_handler', 'my_custom_success_message', 10, 2 );
function my_custom_success_message( $success, $updated ) {
    // your code here
return $success;
}
?>

Change Log

Since: 2.0

Source

um_custom_success_message_handler is located in includes/core/um-actions-misc.php::line 109