The quickest way to answer this question is to follow the code. See get_post_custom in Codex. Scroll down to Source Code section:
get_post_custom() is located in wp-includes/post.php
There we’ll see that get_post_custom calls get_post_meta, which then calls get_metadata, which points us to:
get_metadata() is located in wp-includes/meta.php
there we’ll finally see the available filter:
$check = apply_filters( "get_{$meta_type}_metadata", null, $object_id, $meta_key, $single );
in this case, post is the $meta_type, so our filter is get_post_metadata
Related Posts:
- WP Rest API: details of latest post including featured media url in one request?
- How do I exclude plugins from getting automatically updated?
- Where is the best place to use add_filter
- How To Determine If A Filter Is Called In A Sidebar/Widget Context?
- plugin_action_links Filter Hook Deprecated?
- Filter Hook on plugin update
- Update Multiple Post Meta for the Same Post In One call?
- How can I show drafts in wp_dropdown_pages list?
- How to list the Hooks and order of execution in current loading page? [duplicate]
- Updating post meta for custom post types
- Use external link in the add sub menu
- Is there any multiple filter/criteria plugin for wordpress? [closed]
- Failed to invoke other hook from the init hook
- How can I add a custom meta value on file upload?
- How can I filter blog name?
- why does the add_action(‘the_content’) overwrite my page
- How to get custom field image url of specific size
- There’s some way to add a wrapper around posted images?
- Custom preview_post_link not working for draft post
- How do I add advanced custom fields / meta fields to Elasticsearch? [closed]
- Woocommerce Shipping module available only for type of products [closed]
- add_filter the_content in functions.php not working
- locate_template with multiple categories?
- Gutenberg Blocks – Change EDIT part of the block using editor.BlockEdit filters. How to change the markup?
- Make the checkbox meta field checked by default
- Randomize attachment IDs
- Pass info from functions.php to plugin
- add_query_arg not working
- Change permalink structure hidden button edit
- When to call add_filter
- Edit default comments page in WP Admin
- Inserting above the comment template
- Creating a plugin to sanitize comment and the url field before display only
- What is generating my meta og:description?
- Assign / update custom field value for all posts (How can I assign only to posts without custom field value?)
- How to check current user before all actions and filters?
- How do I create a filter feature on WordPress? [closed]
- get current date + 90 days and checking every day
- Create a navbar filter that filters by a custom field
- qTranslate remove default directory from link
- How to disable a plugin for certain page?
- WordPress user account activation
- URL parameters causing 404 on home page, but nowhere else
- Which filter affects the ‘entry-title’ post class
- How to change the name of the “edit my profile” link in the WordPress admin backend
- add_filter doesn’t work
- Template filter for custom taxonomy terms
- How to insert multiple postmeta values with one query?
- Using add_action before add_filter on a plugin?
- remove_action not removing add_action from constructor
- Trying to add a page template for my custom post type from a plugin, but it will not display in the template dropdown unless file is in theme
- Adding custom meta boxes to specified custom post type
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- Override a Plugin Function
- Can I filter a function created by a theme or a plugin?
- Add a function call after content automatically?
- How to use add_action for multiple instances of the same class
- How to Use the Filter “sidebar_login_widget_form_args”
- is there a way to pass a parameter to a add_menu_page function?
- Looking for a filter to modify the months
- What’s the best way to echo out a filter variable?
- Edit post image attributes on fly?
- What snippet do I need to type to show my ACF field show up on my theme?
- Is there a way to make [Table Of Content] plugin while not using revision data?
- How to convert Currency from USD to other IP Based currency in Php function
- How i remove specific script from header?
- Add an action based on custom post meta field
- Adding an item to an anonymous array inside a filter?
- taxonomy_template filter not working on pagination [duplicate]
- 500 Internal server error wp_handle_upload_prefilter
- WooCommerce Product Table – filter query on attributes
- Disable WC Bookings automatic order completion [closed]
- Performance considerations – postmeta table versus new table for custom posts with foreign keys?
- Modify function output in a plugin
- Using Filters to modify contect – DB query results alwats appear fist
- Help needed with woocommerce (wc stripe) filter
- WordPress Add advertising ads befor and after content with periority [closed]
- Edit plugin filter
- Same Title on two different post type with single custom taxonomy
- How do i get all author posts on custom post type list
- How to filter a a variable in a plugin’s function?
- Retrive images from the_content()
- passing ‘&’ in return function of add_filter
- Filter the HTML content of plugin
- change output location of plugin function using a custom hook
- Filter for modifying image on upload
- County Finder form/plugin?
- Add meta tags with a plugin?
- WordPress User Frontend Editing Custom Fields
- wordpress last all added get meta value by post id
- Get post id in Post Page within Wp-admin
- Unable to pass arguments from plugin form to filter hook using ajax, the data is transferring via ajax but unable to pass as arguments in filter hooks
- How often should I execute add_filter and function declaration in Code Snippets?
- how to add meta for order in woocommerce
- WordPress REST API filter on blank custom ACF
- Brands Filter Not Working For On Sale Products
- Removing filters with arguments set in a class
- Remove wpseo filter from polylang plugin
- How to disable Yoast meta description for all pages
- How to display title, description etc in block images?