wpseek.com
A WordPress-centric search engine for devs and theme authors
default_{$meta_type}_metadata › WordPress Filter Hooks
Since5.5.0
Deprecatedn/a
› apply_filters( "default_{$meta_type}_metadata", $value, $object_id, $meta_key, $single, $meta_type )
Parameters: (5) |
|
Defined at: |
|
Codex: |
Filters the default metadata value for a specified meta key and object.
The dynamic portion of the hook name, $meta_type
, refers to the meta object type
(post, comment, term, user, or any other type with an associated meta table).
Possible filter names include:
default_post_metadata
default_comment_metadata
default_term_metadata
default_user_metadata
Related Functions: delete_metadata, filter_default_metadata, delete_metadata_by_mid, delete_site_meta, get_default_post_to_edit, delete_meta