wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_send_new_user_notification_to_user › Hooks de Filtros WordPress

Desde6.1.0
Obsoleton/a
› apply_filters( 'wp_send_new_user_notification_to_user', true, $user )
Parâmetros: (2)
  • () send Whether to send the email. Default true.
    Required: Yes
  • () user User object for new user.
    Required: Yes
Definido em:
Codex:

Filters whether the user is notified of their new user registration.





Fonte

$send_notification_to_user = apply_filters( 'wp_send_new_user_notification_to_user', true, $user );