Reply To: how do i setup Front End PM Pro in a chile theme?


Home Forums Front End PM PRO how do i setup Front End PM Pro in a chile theme? Reply To: how do i setup Front End PM Pro in a chile theme?

#14900
shamim
Keymaster

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

add_filter( 'fep_form_submit_button', function( $button, $where ){
	if( 'reply' == $where ){
		$button = '<button type="submit" class="fep-button" name="fep_action" value="'. esc_attr( $where ) .'">SEND</button>';
	}
	return $button;
}, 10, 2 );