1. Home
  2. Developer’s guide
  3. Filters
  4. duplicate_post_meta_keys_filter


apply_filters( 'duplicate_post_meta_keys_filter' , array $meta_keys )

Filters the array containing the custom field keys after those in the blacklist have been removed.


  • $meta_keys
    • (array) The array of custom field names
      • Default: the keys of the custom fields of the original post, minus those filtered out using the blacklist.