Created
July 2, 2014 05:27
-
-
Save thefuxia/9811322b43683a00177f to your computer and use it in GitHub Desktop.
Multilingual Press: mlp_duplicated_blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// In inc/pro/controllers/Mlp_Duplicate_Blogs.php, | |
// at the end of Mlp_Duplicate_Blogs::wpmu_new_blog() | |
$context = array ( | |
'source_blog_id' => $source_blog_id, | |
'new_blog_id' => $blog_id | |
); | |
/** | |
* Called after successful blog duplication. | |
* | |
* @param array $context Two blog ids: 'source_blog_id' and 'new_blog_id'. | |
*/ | |
do_action( 'mlp_duplicated_blog', $context ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment