Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: new_admin_email_subject

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1520      );
1521
1522      /**
1523       * Filters the subject of the email sent when a change of site admin email address is attempted.
1524       *
1525       * @since 6.5.0
1526       *
1527       * @param string $subject Subject of the email.
1528       */
1529      $subject = apply_filters( 'new_admin_email_subject', $subject );
1530
1531      wp_mail( $value, $subject, $content );
1532
1533      if ( $switched_locale ) {
1534           restore_previous_locale();
1535      }
1536 }
1537
1538 /**