Title: Filter Custom Fields
Last modified: August 19, 2016

---

# Filter Custom Fields

 *  [mithra62](https://wordpress.org/support/users/mithra62/)
 * (@mithra62)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/filter-custom-fields/)
 * Hello,
 * I’m wondering if it’s possible to add filters and actions on Custom Fields in
   a post?
 * I have a plugin that extracts all `<a>` tags and converts them into trackable
   objects. This works great for the content and except but I can’t figure out how
   to filter the Custom Fields.
 * I’ve tried calling the below:
    `add_filter('the_meta', 'function_name', $priority)`,
   which I read _should_ work but it doesn’t seem to do anything.
 * Any help would be appreciated.
 * Thanks,
    Eric

The topic ‘Filter Custom Fields’ is closed to new replies.

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)

 * 0 replies
 * 1 participant
 * Last reply from: [mithra62](https://wordpress.org/support/users/mithra62/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/filter-custom-fields/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
