Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(UsersRepo): pass $value in auth0_update_meta filter
  • Loading branch information
QWp6t authored May 22, 2022
commit 9fccb84acdef65490e04b76814372281db418f40
3 changes: 2 additions & 1 deletion lib/WP_Auth0_UsersRepo.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,9 @@ public static function update_meta( $user_id, $key, $value ) {
*
* @param integer $user_id The user ID.
* @param string $key The meta key.
* @param mixed $value The meta value.
*/
$check = apply_filters( 'auth0_update_meta', null, $user_id, $key );
$check = apply_filters( 'auth0_update_meta', null, $user_id, $key, $value );
if ( $check !== null ) {
return (bool) $check;
}
Expand Down