• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register

WordPress.org

  • Showcase
  • Learn
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
    • Five for the Future
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/meta.php

_wp_register_meta_args_allowed_list()

Function: Filters out `register_meta()` args based on an allowed list.

Source: wp-includes/meta.php:1606

Used by 1 function | Uses 0 functions

filter_default_metadata()

Function: Filters into default_{$object_type}_metadata and adds in default value.

Source: wp-includes/meta.php:1410

Used by 0 functions | Uses 2 functions

default_{$meta_type}_metadata

Filter Hook: Filters the default metadata value for a specified meta key and object.

Source: wp-includes/meta.php:645

Used by 1 function | Uses 0 functions

get_metadata_default()

Function: Retrieves default metadata value for the specified meta key and object.

Source: wp-includes/meta.php:615

Used by 1 function | Uses 3 functions

get_metadata_raw()

Function: Retrieves raw metadata value for the specified object.

Source: wp-includes/meta.php:529

Used by 2 functions | Uses 6 functions

get_{$meta_type}_metadata_by_mid

Filter Hook: Short-circuits the return value when fetching a meta field by meta ID.

Source: wp-includes/meta.php:747

Used by 1 function | Uses 0 functions

update_{$meta_type}_metadata_by_mid

Filter Hook: Short-circuits updating metadata of a specific type by meta ID.

Source: wp-includes/meta.php:816

Used by 1 function | Uses 0 functions

delete_{$meta_type}_metadata_by_mid

Filter Hook: Short-circuits deleting metadata of a specific type by meta ID.

Source: wp-includes/meta.php:930

Used by 1 function | Uses 0 functions

update_{$meta_type}_metadata_cache

Filter Hook: Short-circuits updating the metadata cache of a specific type.

Source: wp-includes/meta.php:1035

Used by 1 function | Uses 0 functions

get_object_subtype()

Function: Returns the object subtype for a given object ID of a specific type.

Source: wp-includes/meta.php:1620

Used by 8 functions | Uses 6 functions

get_object_subtype_{$object_type}

Filter Hook: Filters the object subtype identifier for a non-standard object type.

Source: wp-includes/meta.php:1672

Used by 1 function | Uses 0 functions

sanitize_{$object_type}_meta_{$meta_key}_for_{$object_subtype}

Filter Hook: Filters the sanitization of a specific meta key of a specific meta type and subtype.

Source: wp-includes/meta.php:1209

Used by 1 function | Uses 0 functions

get_registered_meta_keys()

Function: Retrieves a list of registered meta keys for an object type.

Source: wp-includes/meta.php:1534

Used by 3 functions | Uses 0 functions

get_registered_metadata()

Function: Retrieves registered metadata for a specified object.

Source: wp-includes/meta.php:1560

Used by 0 functions | Uses 4 functions

register_meta_args

Filter Hook: Filters the registration arguments when registering meta.

Source: wp-includes/meta.php:1325

Used by 1 function | Uses 0 functions

registered_meta_key_exists()

Function: Checks if a meta key is registered.

Source: wp-includes/meta.php:1467

Used by 2 functions | Uses 1 function

unregister_meta_key()

Function: Unregisters a meta key from the list of registered keys.

Source: wp-includes/meta.php:1485

Used by 2 functions | Uses 2 functions

sanitize_{$object_type}_meta_{$meta_key}

Filter Hook: Filters the sanitization of a specific meta key of a specific meta type.

Source: wp-includes/meta.php:1226

Used by 1 function | Uses 0 functions

wp_metadata_lazyloader()

Function: Retrieves the queue for lazy-loading metadata.

Source: wp-includes/meta.php:1099

Used by 2 functions | Uses 1 function

is_protected_meta()

Function: Determines whether a meta key is considered protected.

Source: wp-includes/meta.php:1161

Used by 10 functions | Uses 2 functions

is_protected_meta

Filter Hook: Filters whether a meta key is considered protected.

Source: wp-includes/meta.php:1175

Used by 1 function | Uses 0 functions

sanitize_meta()

Function: Sanitizes meta value.

Source: wp-includes/meta.php:1191

Used by 4 functions | Uses 4 functions

sanitize_{$meta_type}_meta_{$meta_key}

Filter Hook: Filter the sanitization of a specific meta key of a specific meta type.

Source: wp-includes/meta.php:961

Used by 0 functions | Uses 0 functions

register_meta()

Function: Registers a meta key.

Source: wp-includes/meta.php:1277

Used by 2 functions | Uses 10 functions

get_meta_sql()

Function: Given a meta query, generates SQL clauses to be appended to a main query.

Source: wp-includes/meta.php:1123

Used by 0 functions | Uses 1 function

_get_meta_table()

Function: Retrieves the name of the metadata table for the specified object type.

Source: wp-includes/meta.php:1139

Used by 8 functions | Uses 0 functions

update_{$meta_type}_metadata

Filter Hook: Short-circuits updating metadata of a specific type.

Source: wp-includes/meta.php:205

Used by 1 function | Uses 0 functions

get_metadata()

Function: Retrieves the value of a metadata field for the specified object type and ID.

Source: wp-includes/meta.php:505

Used by 10 functions | Uses 2 functions

update_{$meta_type}_meta

Action Hook: Fires immediately before updating metadata of a specific type.

Source: wp-includes/meta.php:253

Used by 2 functions | Uses 0 functions

get_{$meta_type}_metadata

Filter Hook: Short-circuits the return value of a meta field.

Source: wp-includes/meta.php:564

Used by 2 functions | Uses 0 functions
1 2 Next »
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.