rem_agent_contact_before_submit

How Can We Help?

rem_agent_contact_before_submit

This action is called right before the Send Message button on the agent contact form and is located in classes\hooks.class.php

Arguments

  1. Agent ID [Integer]

Example

Suppose you want to display terms and conditions or some other custom text before the Send Message button, use the following code in the functions.php file of your theme/child theme.

add_action( 'rem_agent_contact_before_submit', 'rem_before_contact_button', 10, 1 );

function rem_before_contact_button($agent_id){
    echo "Your custom text goes here.";
}