Title: Plugin Territory Error &#8211; Function for CPT moved to plugin
Last modified: February 28, 2017

---

# Plugin Territory Error – Function for CPT moved to plugin

 *  Resolved [daylightmedia](https://wordpress.org/support/users/daylightmedia/)
 * (@daylightmedia)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-territory-error-function-for-cpt-moved-to-plugin/)
 * hi,
 * i originally had a custom post type for my theme portfolio in the functions file
   but i moved it into its own sep. plugin called daylight plugin. the theme is 
   called daylight. There is no other custom post type or taxonomy in the theme 
   yet the message persists
 * REQUIRED: The theme uses the register_taxonomy() function, which is plugin-territory
   functionality.
    REQUIRED: The theme uses the register_post_type() function, which
   is plugin-territory functionality.
 * When i turn off the plugin the message still appears- i am using the redux options
   panel plugin but i did a search on the entire theme folder there is no register_taxonomy
   or register_post_type anywhere in any file- the functions for my portfolio are
   in a sep. plugin file yet this message will not go away.
 * Is it possible something in the db is still triggering this? i even deactivated
   the plugin with the custom post type and added a function to unset/deregister
   both the post type and taxonomy and still it said the above error- how do i make
   this go away i have already placed it in a sep plugin why isnt this message going
   away?
 * Please help me i am so frustrate

Viewing 1 replies (of 1 total)

 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-territory-error-function-for-cpt-moved-to-plugin/#post-8863973)
 * The theme-check plugin can only scan existing files in the theme directory. If
   it says it is there, then it really is there.
 * Do you have .svn directories or something else that retains history? Try cleaning
   out your theme directory and making sure it’s only the theme and nothing else.

Viewing 1 replies (of 1 total)

The topic ‘Plugin Territory Error – Function for CPT moved to plugin’ is closed 
to new replies.

 * ![](https://ps.w.org/theme-check/assets/icon-128x128.png?rev=972579)
 * [Theme Check](https://wordpress.org/plugins/theme-check/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-check/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-check/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-check/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-check/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-check/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-territory-error-function-for-cpt-moved-to-plugin/#post-8863973)
 * Status: resolved