Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
  • Get WordPress
Get WordPress

Developer Resources

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:1726

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:1530

Used by 0 functions | Uses 2 functions

get_metadata_default()

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

Source: wp-includes/meta.php:684

Used by 1 function | 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:714

Used by 1 function | Uses 0 functions

get_metadata_raw()

Function: Retrieves raw metadata value for the specified object.

Source: wp-includes/meta.php:597

Used by 3 functions | Uses 5 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:899

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:1020

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:1146

Used by 1 function | Uses 0 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:823

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:1740

Used by 8 functions | Uses 5 functions

get_object_subtype_{$object_type}

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

Source: wp-includes/meta.php:1799

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:1328

Used by 1 function | Uses 0 functions

register_meta_args

Filter Hook: Filters the registration arguments when registering meta.

Source: wp-includes/meta.php:1444

Used by 1 function | Uses 0 functions

registered_meta_key_exists()

Function: Checks if a meta key is registered.

Source: wp-includes/meta.php:1587

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:1605

Used by 2 functions | Uses 2 functions

get_registered_meta_keys()

Function: Retrieves a list of registered metadata args for an object type, keyed by their meta keys.

Source: wp-includes/meta.php:1654

Used by 3 functions | Uses 0 functions

get_registered_metadata()

Function: Retrieves registered metadata for a specified object.

Source: wp-includes/meta.php:1680

Used by 0 functions | Uses 4 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:1345

Used by 1 function | Uses 0 functions

wp_metadata_lazyloader()

Function: Retrieves the queue for lazy-loading metadata.

Source: wp-includes/meta.php:1212

Used by 2 functions | Uses 1 function

get_meta_sql()

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

Source: wp-includes/meta.php:1242

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:1258

Used by 8 functions | Uses 0 functions

is_protected_meta()

Function: Determines whether a meta key is considered protected.

Source: wp-includes/meta.php:1280

Used by 10 functions | Uses 1 function

is_protected_meta

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

Source: wp-includes/meta.php:1294

Used by 1 function | Uses 0 functions

sanitize_meta()

Function: Sanitizes meta value.

Source: wp-includes/meta.php:1310

Used by 4 functions | Uses 2 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:1396

Used by 3 functions | Uses 9 functions

delete_metadata_by_mid()

Function: Deletes metadata by meta ID.

Source: wp-includes/meta.php:979

Used by 11 functions | Uses 7 functions

delete_{$meta_type}_metadata

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

Source: wp-includes/meta.php:425

Used by 1 function | Uses 0 functions

delete_{$meta_type}meta

Action Hook: Fires immediately before deleting post or comment metadata of a specific type.

Source: wp-includes/meta.php:1052

Used by 1 function | Uses 0 functions

delete_{$meta_type}_meta

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

Source: wp-includes/meta.php:476

Used by 2 functions | Uses 0 functions
1 2 Next
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry