PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
plugins
/
wp-all-import
/
actions
<?php function pmxi_wpmu_new_blog($blog_id, $user_id, $domain, $path, $site_id, $meta) { // create/update required database tables require_once ABSPATH . 'wp-admin/includes/upgrade.php'; require PMXI_Plugin::ROOT_DIR . '/schema.php'; global $wpdb; if (function_exists('is_multisite') && is_multisite()) { // check if it is a network activation - if so, run the activation function for each blog id $old_blog = $wpdb->blogid; switch_to_blog($blog_id); require PMXI_Plugin::ROOT_DIR . '/schema.php'; dbDelta($plugin_queries); // sync data between plugin tables and wordpress (mostly for the case when plugin is reactivated) $post = new PMXI_Post_Record(); $wpdb->query('DELETE FROM ' . $post->getTable() . ' WHERE post_id NOT IN (SELECT ID FROM ' . $wpdb->posts . ')'); switch_to_blog($old_blog); return; } }
[+]
..
[-] admin_notices.php
[edit]
[-] delete_post.php
[edit]
[-] admin_head.php
[edit]
[-] add_attachment.php
[edit]
[-] pmxi_after_xml_import.php
[edit]
[-] wp_ajax_dismiss_notifications.php
[edit]
[-] wp_ajax_auto_detect_sf.php
[edit]
[-] admin_menu.php
[edit]
[-] wp_ajax_delete_import.php
[edit]
[-] pmxi_before_xml_import.php
[edit]
[-] wp_ajax_import_failed.php
[edit]
[-] wp_ajax_auto_detect_cf.php
[edit]
[-] wpmu_new_blog.php
[edit]
[-] wp_ajax_test_images.php
[edit]
[-] admin_init.php
[edit]
[-] attachment_updated.php
[edit]