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



wp_send_new_user_notification_to_admin › Hooks de Filtros WordPress

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

Filters whether the admin is notified of a new user registration.





Fonte

$send_notification_to_admin = apply_filters( 'wp_send_new_user_notification_to_admin', true, $user );