delete_comment_meta [ WordPress Function ]
| Parameters: |
|
| Uses: | |
| Links: | |
| Returns: |
|
| Defined at: |
|
Remove metadata matching criteria from a comment.
You can match based on the key, or key and value. Removing based on key and value, will keep from removing duplicate metadata with the same key. It also allows removing all metadata matching key, if needed.
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Function Reference/delete comment meta « WordPress Codex
delete_comment_meta() allows you to delete any meta values stored against comments, which have been set using add_comment_meta(). Similar method to ...
codex.wordpress.org - Docs for page comment.php
bool delete_comment_meta (int $comment_id, string $meta_key, [mixed $ meta_value = '']). int $comment_id: comment ID; string $meta_key: Metadata name.
phpdoc.wordpress.org - delete_comment_meta | A HitchHackers guide through WordPress
Feb 11, 2011 ... function delete_comment_meta($comment_id, $meta_key, $meta_value = '') { return delete_metadata('comment', $comment_id, $meta_key, ...
hitchhackerguide.com - wp_scheduled_delete (WordPress Function) - WPSeek.com
delete_comment_meta($comment_id, '_wp_trash_meta_time'); delete_comment_meta($comment_id, '_wp_trash_meta_status'); } else { ...
wpseek.com