wpmu_signup_blog [ WordPress Function ]
wpmu_signup_blog ( $domain, $path, $title, $user, $user_email, $meta = '' )
| Parameters: |
|
| Uses: | |
| Defined at: |
|
Soorgelijke functies: signup_blog, wpmu_signup_user, wpmu_signup_blog_notification, wpmu_signup_stylesheet, wp_signon
Record site signup information for future activation.
Source
<?php
function wpmu_signup_blog($domain, $path, $title, $user, $user_email, $meta = '') {
global $wpdb;
$key = substr( md5( time() . rand() . $domain ), 0, 16 );
$meta = serialize($meta);
$domain = $wpdb->escape($domain);
$path = $wpdb->escape($path);
$title = $wpdb->escape($title);
$wpdb->insert( $wpdb->signups, array(
'domain' => $domain,
'path' => $path,
'title' => $title,
'user_login' => $user,
'user_email' => $user_email,
'registered' => current_time('mysql', true),
'activation_key' => $key,
'meta' => $meta
) );
wpmu_signup_blog_notification($domain, $path, $title, $user, $user_email, $key, $meta);
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- WPMU Functions/wpmu signup blog « WordPress Codex
Description. Stores the new user and blog details in the database and calls wpmu_signup_blog_notification to email the new user an activation link.
codex.wordpress.org - WPMU Functions/wpmu signup blog notification « WordPress Codex
Codex tools: Log in. WPMU Functions/wpmu signup blog notification ... generic as there are three possible ways to setup WordPress MU that I am aware of.
codex.wordpress.org - wpmu_signup_blog (WordPress Function) - WPSeek.com
WordPress lookup for wpmu_signup_blog, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - PHPXRef 0.7 : WordPress : Function Reference: wpmu_signup_blog()
Function and Method Cross Reference. wpmu_signup_blog(). Defined at: /wp- includes/ms-functions.php -> line 624. Referenced 1 times: /wp-signup.php -> line ...
phpxref.ftwr.co.uk