wp_get_db_schema


wp_get_db_schema ( $scope = 'all', $blog_id = null )

Parameters:
  • (string) scope Optional. The tables for which to retrieve SQL. Can be all, global, ms_global, or blog tables. Defaults to all.
  • (int) blog_id Optional. The site ID for which to retrieve SQL. Default is the current site ID.
Returns:
  • (string) The SQL needed to create the requested tables.
Defined at:

Description

Retrieve the SQL for creating database tables.

Related Functions

wp_get_schedule, wp_get_theme, wp_get_schedules, wp_get_themes, wp_get_sidebar

Top Google Results

User discussions

wpseek mobile