Title: Network configuration &amp; theme support
Last modified: February 14, 2017

---

# Network configuration & theme support

 *  Resolved [sraabe](https://wordpress.org/support/users/sraabe/)
 * (@sraabe)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/network-configuration-theme-support/)
 * Hi all,
 * I want to enable the duplicate/clone for a custom post type from the functions.
   php. I want to ensure that all sites with this theme of a multisite network are
   using this configuration.
 * Is it possible to add a custom post type from the functions.php?
 * Thanks,
 * Stephan

Viewing 1 replies (of 1 total)

 *  Plugin Author [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * (@lopo)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/network-configuration-theme-support/#post-8886960)
 * Hi [@sraabe](https://wordpress.org/support/users/sraabe/),
    sorry for the delay!
 * You should be able to do it by setting the option `duplicate_post_types_enabled`,
   for example:
    `update_option('duplicate_post_types_enabled', array('post', 'page','
   mycustomposttype'));`
 * Hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘Network configuration & theme support’ is closed to new replies.

 * ![](https://ps.w.org/duplicate-post/assets/icon-256x256.png?rev=2336666)
 * [Yoast Duplicate Post](https://wordpress.org/plugins/duplicate-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicate-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicate-post/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicate-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicate-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicate-post/reviews/)

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * 1 reply
 * 2 participants
 * Last reply from: [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/network-configuration-theme-support/#post-8886960)
 * Status: resolved