wp_install_defaults


wp_install_defaults ( $user_id )

Parameters:
  • (int) $user_id User ID.
Defined at:

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.

Related Functions

install_blog_defaults, wp_install, wp_embed_defaults, wp_list_authors, wp_list_cats

Top Google Results

User discussions

wpseek mobile