wp_get_db_schema

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 blog ID for which to retrieve SQL. Default is the current blog ID.

Return values

returns:The SQL needed to create the requested tables.

Source code

?>

17590

No comments yet... Be the first to leave a reply!

Leave a comment