Filter: sensei_duplicate_post_ignore_meta

apply_filters( 'sensei_duplicate_post_ignore_meta', $meta_keys, $new_post, $post ) → {array}

Ignored meta fields when duplicating a post.

Parameters:
Name Type Description
$meta_keys array

The meta keys to be ignored.

$new_post WP_Post

The new duplicate post.

$post WP_Post

The original post that's being duplicated.

Since:
  • 3.7.0
Source:
Returns:

$meta_keys The meta keys to be ignored.

Type
array