From f46609375825d94f0e486daa55138e7dd92fcf70 Mon Sep 17 00:00:00 2001 From: Shamali Sulakhe Date: Tue, 20 Oct 2020 16:33:00 +0530 Subject: [PATCH] Added post_type filter for Duplicate Post settings --- duplicate-post-options.php | 1 + 1 file changed, 1 insertion(+) 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;