user_request_action_email_content

user_request_action_email_content

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('user_request_action_email_content') is found 1 times:

  • /wp-includes/user.php line 4830
    4826
    4827
    4828
    4829
    4830
    4831
    4832
    4833
    4834
    4835
    4836
    *     @type string          $sitename    The site name sending the mail.
     *     @type string          $siteurl     The site URL sending the mail.
     * }
     */
    $content = apply_filters( 'user_request_action_email_content', $content, $email_data );
     
    $content = str_replace( '###DESCRIPTION###', $email_data['description'], $content );
    $content = str_replace( '###CONFIRM_URL###', sanitize_url( $email_data['confirm_url'] ), $content );
    $content = str_replace( '###EMAIL###', $email_data['email'], $content );
    $content = str_replace( '###SITENAME###', $email_data['sitename'], $content );
    $content = str_replace( '###SITEURL###', sanitize_url( $email_data['siteurl'] ), $content );