Description

Action hook gets user update data after data is validated, but before the updates are inserted.

All of the _data hooks can be used in a similar manner. The differences are if the user data has
been inserted or not. All of it has passed validation by the time it gets to the hook.

Here is an example that will grab the user update data before insertion, and echo the array
results on screen.

Note: this is ONLY an example to show the fields and data that are passed
with this hook; the call to exit(); will stop execution before this user data is inserted.

Usage

add_action( 'wpmem_pre_update_data', 'my_reg_hook', 1 );

function my_reg_hook( $fields ) 
{
	echo "<pre>"; print_r( $fields ); echo "</pre>";
	exit();
}

Examples

See a list of all filter and action hooks