Advertisements

install_global_terms

Definition:
function install_global_terms() {}

Install global terms.

Source code

function install_global_terms() {

	global $wpdb, $charset_collate;

	$ms_queries = "

CREATE TABLE $wpdb->sitecategories (

  cat_ID bigint(20) NOT NULL auto_increment,

  cat_name varchar(55) NOT NULL default '',

  category_nicename varchar(200) NOT NULL default '',

  last_updated timestamp NOT NULL,

  PRIMARY KEY  (cat_ID),

  KEY category_nicename (category_nicename),

  KEY last_updated (last_updated)

) $charset_collate;

";

// now create tables

	dbDelta( $ms_queries );

}

2031

Advertisements

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: