welcome_user_msg_filter [ WordPress Function ]
welcome_user_msg_filter ( $text )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: wpmu_welcome_user_notification, delete_user_meta, wp_list_filter, remove_all_filters, current_filter
Ensure that the welcome message is not empty. Currently unused.
Source
<?php
function welcome_user_msg_filter( $text ) {
if ( !$text ) {
remove_filter( 'site_option_welcome_user_email', 'welcome_user_msg_filter' );
$text = __( 'Dear User,
Your new account is set up.
You can log in with the following information:
Username: USERNAME
Password: PASSWORD
LOGINLINK
Thanks!
--The Team @ SITE_NAME' );
update_site_option( 'welcome_user_email', $text );
}
return $text;
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/welcome user msg filter « WordPress Codex
Description. Ensure that the welcome message is not empty. Currently unused. Usage. <?php welcome_user_msg_filter( $text ); ?> Parameters. $text: (string) ...
codex.wordpress.org - #20116 (Welcome User Email in Multisite Can't Be Changed ...
Rolling upgrade to set the welcome_user_email network-wide option via the welcome_user_msg_filter() callback. Fixes ability to save the welcome user email ...
core.trac.wordpress.org - ms-functions.php - PHP Cross Reference of WordPress Source - Yoast
Jun 1, 2011 ... welcome_user_msg_filter() force_ssl_content() filter_SSL() wp_schedule_update_network_counts() wp_update_network_counts(). Functions ...
xref.yoast.com - WordPress Multisite Functions List | Tikendra Maitry
Jul 6, 2011... $blog_id = 0 ); users_can_register_signup_filter(); welcome_user_msg_filter( $ text ). Blog Functions. create_empty_blog( $domain, $path ...
www.tiks.in