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.1

apply_filters('user_request_action_email_content') is found 1 times:

  • /wp-includes/user.php line 4830
    	 *     @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 );