diff --git a/duplicate-post-options.php b/duplicate-post-options.php index ddad9c8cd..c8e994aa3 100644 --- a/duplicate-post-options.php +++ b/duplicate-post-options.php @@ -627,6 +627,7 @@ class="nav-tab" true ), 'objects' ); + $post_types = apply_filters( 'duplicate_post_post_types', $post_types ); foreach ( $post_types as $post_type_object ) : if ( 'attachment' === $post_type_object->name ) { continue;