tr

wpseek.com
A WordPress-centric search engine for devs and theme authors


  |     Browse all


update_metadata [ WordPress Function ]

update_metadata ( $meta_type, $object_id, $meta_key, $meta_value, $prev_value = '' )
Parameters:
  • string $meta_type Type of object metadata is for (e.g., comment, post, or user)
  • int $object_id ID of the object metadata is for
  • string $meta_key Metadata key
  • string $meta_value Metadata value
  • string $prev_value Optional. If specified, only update existing metadata entries with the specified value. Otherwise, update all entries.
Uses:
Returns:
  • bool True on successful update, false on failure.
Defined at:



Update metadata for the specified object. If no value already exists for the specified object ID and metadata key, the metadata will be added.

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics