Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions duplicate-post-options.php
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ class="nav-tab"
<legend class="screen-reader-text"><?php esc_html_e( 'Enable for these post types', 'duplicate-post' ); ?></legend>
<?php
$post_types = get_post_types( array( 'show_ui' => 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;
Expand Down