Title: Programmatically calling the copy_blog function.
Last modified: August 21, 2016

---

# Programmatically calling the copy_blog function.

 *  [Morklympious](https://wordpress.org/support/users/morklympious/)
 * (@morklympious)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/programmatically-calling-the-copy_blog-function/)
 * Hello! I’ve been using this plugin for a bit and I’m enjoying the UI and the 
   relatively painless process of copying a blog in Multisite.
 * However, my issue is that I want to be able to access the functions that the 
   blog-copier supplies in php. So lets say I want to be able to copy a blog with
   a script I write and in doing so I want to call copy_blog($domainurl, $title);
   Currently, PHP errors out when I do that. I want to know if there’s something
   preventing outside sources from accessing the functions that this plugin provides?
   Or maybe it’s just a multisite?
 * Anyways, help of any kind would be appreciated!
 * [http://wordpress.org/plugins/blog-copier/](http://wordpress.org/plugins/blog-copier/)

Viewing 1 replies (of 1 total)

 *  [ranush6](https://wordpress.org/support/users/ranush6/)
 * (@ranush6)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/programmatically-calling-the-copy_blog-function/#post-4034481)
 * Im am reallllyyyy with Morklympious want and idea.
 * I’m really trying all my effort to call it from another page and customize the
   original php to be able to do that..

Viewing 1 replies (of 1 total)

The topic ‘Programmatically calling the copy_blog function.’ is closed to new replies.

 * ![](https://ps.w.org/blog-copier/assets/icon-256x256.png?rev=985730)
 * [Blog Copier](https://wordpress.org/plugins/blog-copier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blog-copier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blog-copier/)
 * [Active Topics](https://wordpress.org/support/plugin/blog-copier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blog-copier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blog-copier/reviews/)

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [ranush6](https://wordpress.org/support/users/ranush6/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/programmatically-calling-the-copy_blog-function/#post-4034481)
 * Status: not resolved