$post_type ) { if ( 'fl-builder-template' == $post_type ) { unset( $saved_post_types[ $key ] ); } } $saved_post_types = implode( ', ', $saved_post_types ); ?>

true, ), 'objects' ); /** * Use this filter to modify the post types that are shown in the admin settings for enabling and disabling post types. * @link https://docs.wpbeaverbuilder.com/beaver-builder/developer/tutorials-guides/common-beaver-builder-filter-examples * @see fl_builder_admin_settings_post_types */ $post_types = apply_filters( 'fl_builder_admin_settings_post_types', $post_types ); foreach ( $post_types as $post_type ) : $checked = in_array( $post_type->name, $saved_post_types ) ? 'checked' : ''; if ( 'attachment' == $post_type->name ) { continue; } if ( 'fl-builder-template' == $post_type->name ) { continue; } ?>