Reply To: Instructions for User to User messaging


Home Forums Front End PM PRO Instructions for User to User messaging Reply To: Instructions for User to User messaging

#14729
shamim
Keymaster

add following code in your theme’s (child theme’s if any) functions.php

add_action( 'fep_action_message_after_send', function( $message_id, $message, $inserted_message ){
	$post = array(
		'ID'		=> $message_id,
		'post_title'	=> $inserted_message->post_title . ' #' . $message_id,
	);
	wp_update_post( $post );
}, 10, 3);