wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wpmu_welcome_notification › WordPress Filter Hooks

SeitMU (3.0.0)
Veraltetn/v
apply_filters( 'wpmu_welcome_notification', $blog_id, $user_id, $password, $title, $meta )
Parameter: (5)
  • (int|false) $blog_id Site ID, or false to prevent the email from sending.
    Erforderlich: Ja
  • (int) $user_id User ID of the site administrator.
    Erforderlich: Ja
  • (string) $password User password, or "N/A" if the user account is not new.
    Erforderlich: Ja
  • (string) $title Site title.
    Erforderlich: Ja
  • (array) $meta Signup meta data. By default, contains the requested privacy setting and lang_id.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether to bypass the welcome email sent to the site administrator after site activation.

Returning false disables the welcome email.





Quellcode

if ( ! apply_filters( 'wpmu_welcome_notification', $blog_id, $user_id, $password, $title, $meta ) ) {