File: wp-includes/meta.php
-
Filters out `register_meta()` args based on an allowed list.
-
functionfilter_default_metadata()
Filters into default_{$object_type}_metadata and adds in default value.
-
functionget_metadata_default()
Retrieves default metadata value for the specified meta key and object.
-
Filters the default metadata value for a specified meta key and object.
-
functionget_metadata_raw()
Retrieves raw metadata value for the specified object.
-
Short-circuits updating metadata of a specific type by meta ID.
-
Short-circuits deleting metadata of a specific type by meta ID.
-
Short-circuits updating the metadata cache of a specific type.
-
Short-circuits the return value when fetching a meta field by meta ID.
-
functionget_object_subtype()
Returns the object subtype for a given object ID of a specific type.
-
Filters the object subtype identifier for a non-standard object type.
-
Filters the sanitization of a specific meta key of a specific meta type and subtype.
-
Filters the registration arguments when registering meta.
-
functionregistered_meta_key_exists()
Checks if a meta key is registered.
-
functionunregister_meta_key()
Unregisters a meta key from the list of registered keys.
-
functionget_registered_meta_keys()
Retrieves a list of registered metadata args for an object type, keyed by their meta keys.
-
functionget_registered_metadata()
Retrieves registered metadata for a specified object.
-
Filters the sanitization of a specific meta key of a specific meta type.
-
functionwp_metadata_lazyloader()
Retrieves the queue for lazy-loading metadata.
-
functionget_meta_sql()
Given a meta query, generates SQL clauses to be appended to a main query.
-
function_get_meta_table()
Retrieves the name of the metadata table for the specified object type.
-
functionis_protected_meta()
Determines whether a meta key is considered protected.
-
Filters whether a meta key is considered protected.
-
functionsanitize_meta()
Sanitizes meta value.
-
Filter the sanitization of a specific meta key of a specific meta type.
-
functionregister_meta()
Registers a meta key.
-
functiondelete_metadata_by_mid()
Deletes metadata by meta ID.
-
Short-circuits deleting metadata of a specific type.
-
Fires immediately before deleting post or comment metadata of a specific type.
-
Fires immediately before deleting metadata of a specific type.