wp_install_defaults
wp_install_defaults ( $user_id )
- Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Creates the initial content for a newly-installed site.Adds the default "Uncategorized" category, the first post (with comment),
first page, and default widgets for default theme for the current version.