wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
delete_post_meta › WordPress Function
Desde1.5.0
Obsoleton/a
› delete_post_meta ( $post_id, $meta_key, $meta_value = '' )
| Parâmetros: (3) |
|
| Retorna: |
|
| Definido em: |
|
| Codex: |
Deletes a post meta field for the given post ID.
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 the key, if needed. For historical reasons both the meta key and the meta value are expected to be "slashed" (slashes escaped) on input.Funções relacionadas: delete_site_meta, get_post_meta, delete_post_meta_by_key, delete_meta, delete_term_meta