Definition:
function install_blog_defaults($blog_id, $user_id) {}
Set blog defaults.
This function creates a row in the wp_blogs table.
Parameters
- int $blog_id: Ignored in this function.
- int $user_id
Source code
function install_blog_defaults($blog_id, $user_id) { global $wpdb; require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); $wpdb->suppress_errors(); wp_install_defaults($user_id); $wpdb->suppress_errors( false ); }
2025
No comments yet... Be the first to leave a reply!