首页 WordPress函数大全 delete_post_meta_by_key()

delete_post_meta_by_key()

2020-05-01 / 2591阅 / 悠然

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

delete_post_meta_by_key( string $post_meta_key )

Deletes everything from post meta matching the given meta key.

描述

参数

$post_meta_key

(string)
(Required)
Key to search for when deleting.

返回

(bool) Whether the post meta key was deleted from the database.

大家谈论
    我的见解