After the Deadline
Fix deprecated use of get_usermeta() and update_usermeta() functions (1 post)

  1. GabSoftware
    Posted 3 years ago #

    The update_usermeta() and get_usermeta() functions are deprecated and have been replaced by update_user_meta() and get_user_meta() respectively. Please update the line 24 and 28 of utils.php as follow:

    line 24:
    update_user_meta( $user_id, $name, $value );

    line 28:
    return get_user_meta( $user_id, $name, TRUE );

    Also, there is no $value parameter for the get_usermeta() function.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • After the Deadline
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic