wpsnoop: fix Custom post types plugin conflicts, errors & issues

When the plugin Custom post types conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.


Discover which shortcodes wp-options PHP functions database tables and files are created by Custom post types, plus learn which plugins and/or themes could be in conflict with Custom post types.


Troubleshooting theme and plugin conflicts is easier when you know what Custom post types leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.

Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for Custom post types

Get professional support for Custom post types here

When you need professional help with WordPress: get help here


What does Custom post types version 3.0.11 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Custom post types to perform differently in your installation, previous versions before 3.0.11 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version 3.0.11 of Custom post types behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for Custom post types by clicking here.

Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.

Which new files does Custom post types add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/custom-post-types/ 462.22kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/assets/ 238.19kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/assets/css/ 30.14kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/assets/css/backend.css 30.14kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/assets/icon-256x256.png 1.92kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/assets/icon.svg 379.00B No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/assets/js/ 205.75kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/assets/js/backend.js 205.75kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/custom-post-types.php 44.43kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/ 147.54kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/Column.class.php 1.46kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/Fields.class.php 24.98kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/functions.php 63.26kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/loader-fields.php 19.78kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/MetaBox.class.php 10.77kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/Notice.class.php 3.57kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/PostType.class.php 7.41kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/Taxonomy.class.php 5.38kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/Template.class.php 3.48kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/inc/theme-supports-rules.php 7.45kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/languages/ 11.32kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/languages/custom-post-types.mo 525.00B No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/languages/custom-post-types.pot 10.81kB No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/parts/ No known conflicts with other themes or plugins.
wp-content/plugins/custom-post-types/readme.txt 20.74kB No known conflicts with other themes or plugins.

Which new shortcodes does Custom post types add to WordPress?

Which new database tables are created by the WordPress plugin Custom post types?

Which new options are added to the wp-options table by Custom post types?

Option Name   Known Conflicts
custom_post_types_update_fieldsgroups_from_old_version The custom_post_types_update_fieldsgroups_from_old_version option doesn't have any known conflicts with other themes or plugins.
custom_post_types_update_post_types_from_old_version The custom_post_types_update_post_types_from_old_version option doesn't have any known conflicts with other themes or plugins.
custom_post_types_update_taxs_from_old_version The custom_post_types_update_taxs_from_old_version option doesn't have any known conflicts with other themes or plugins.
custom_post_types_update_templates_from_old_version The custom_post_types_update_templates_from_old_version option doesn't have any known conflicts with other themes or plugins.

During use Custom post types may or may not create more options depending on how the plugin is configured and depending on which other themes and plugins are active in your specific hosting environment.

What new PHP functions does Custom post types declare when it is active?

Function   Conflicts Common Errors
get_custom_field 4 conflicts Fatal error: Cannot redeclare get_custom_field()
cpt_get_custom_template 0 conflicts Fatal error: Cannot redeclare cpt_get_custom_template()
cpt_get_field 0 conflicts Fatal error: Cannot redeclare cpt_get_field()
cpt_get_field_input_id 0 conflicts Fatal error: Cannot redeclare cpt_get_field_input_id()
cpt_get_field_input_name 0 conflicts Fatal error: Cannot redeclare cpt_get_field_input_name()
cpt_get_fields_by_post_type 0 conflicts Fatal error: Cannot redeclare cpt_get_fields_by_post_type()
cpt_get_metabox_ds 0 conflicts Fatal error: Cannot redeclare cpt_get_metabox_ds()
cpt_get_metabox_manage_cpt 0 conflicts Fatal error: Cannot redeclare cpt_get_metabox_manage_cpt()
cpt_get_metabox_manage_cpt_field 0 conflicts Fatal error: Cannot redeclare cpt_get_metabox_manage_cpt_field()
cpt_get_metabox_manage_cpt_tax 0 conflicts Fatal error: Cannot redeclare cpt_get_metabox_manage_cpt_tax()
cpt_get_metabox_manage_cpt_template 0 conflicts Fatal error: Cannot redeclare cpt_get_metabox_manage_cpt_template()
cpt_get_new_field_args 0 conflicts Fatal error: Cannot redeclare cpt_get_new_field_args()
cpt_get_options_from_textarea 0 conflicts Fatal error: Cannot redeclare cpt_get_options_from_textarea()
cpt_get_post_title_with_parents 0 conflicts Fatal error: Cannot redeclare cpt_get_post_title_with_parents()
cpt_get_term_title_with_parents 0 conflicts Fatal error: Cannot redeclare cpt_get_term_title_with_parents()
cpt_get_ui_cpts 0 conflicts Fatal error: Cannot redeclare cpt_get_ui_cpts()
cpt_is_current_screen 0 conflicts Fatal error: Cannot redeclare cpt_is_current_screen()
cpt_is_rest 0 conflicts Fatal error: Cannot redeclare cpt_is_rest()
cpt_sanitize_repeater_field 0 conflicts Fatal error: Cannot redeclare cpt_sanitize_repeater_field()
custom_post_types_get_custom_template 0 conflicts Fatal error: Cannot redeclare custom_post_types_get_custom_template()
get_post_types_select_options 0 conflicts Fatal error: Cannot redeclare get_post_types_select_options()

Using Custom post types from the command line with WP-CLI

The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.


How to install Custom post types from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install custom-post-types


How to activate Custom post types from the command line with WP-CLI

To immediately activate Custom post types after WP-CLI downloads the latest version you can use the following command:

wp plugin install custom-post-types --activate


How to reinstall Custom post types from the command line with WP-CLI

To force a reinstallation of Custom post types which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install custom-post-types --force


How to update Custom post types to the latest version from the command line with WP-CLI

wp plugin update custom-post-types


How to delete Custom post types from the command line with WP-CLI

wp plugin delete custom-post-types

Where can you download earlier versions of Custom post types?

Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of Custom post types from the WordPress repository by visiting this link.

Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in Custom post types

About our testing enviroment

Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9

It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with Custom post types. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.