Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created November 26, 2013 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/7663457 to your computer and use it in GitHub Desktop.
Save jchristopher/7663457 to your computer and use it in GitHub Desktop.
<?php
function afterUserUpdate( $meta_id, $object_id, $meta_key, $_meta_value ) {
$userID = $object_id;
// $userID was updated
}
add_action( 'updated_user_meta', 'afterUserUpdate', 10, 4 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment