The MU forums have moved to WordPress.org

Declaration of new field (3 posts)

  1. samchng
    Member
    Posted 18 years ago #

    Anyone has an idea where can I find the area where the options for example wp_6_options are declared in the database?? (Number 6 being the blog_id it can vary)

    I am thinking of declaring a new "option_name" upon new blog creation besides the current option_name that includes blogname, blogdescription etc. in that table.

  2. inmaculada
    Member
    Posted 17 years ago #

    hi samchng! i need do that too. i would like to modify the wpmu code for add a new field in wp-signups table but i don't know how do it!

  3. inmaculada
    Member
    Posted 17 years ago #

    i get it!!add your new field in $wp-queries upgrade-schema.php. dbDelta function in upgrade-functions.php file use $wp-queries in order to create the data base.

About this Topic

  • Started 18 years ago by samchng
  • Latest reply from inmaculada