首页 WordPress函数大全 delete_usermeta()

delete_usermeta()

2020-05-01 / 5951阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

Warning: This function has been deprecated. Use delete_user_meta() instead.

delete_usermeta( int $user_id, string $meta_key, mixed $meta_value = '' )

Remove user meta data.

描述

See also See also

  • delete_user_meta()

Top ↑

参数

$user_id

(int)
(Required)
User ID.

$meta_key

(string)
(Required)
Metadata key.

$meta_value

(mixed)
(Optional)
Metadata value.

Default value: ''

返回

(bool) True deletion completed and false if user_id is not a number.

大家谈论
    我的见解