rem_new_property_submitted

This action is called whenever a new property is submitted for approval and is located in classes\hooks.class.php and classes\shortcodes.class.php

Arguments

  1. Property ID [Integer]

Example

Suppose you want to send a custom email to a specific email address whenever a new property is submitted, paste below code in your theme’s functions.php file and replace the email address (your@email.com).

add_action( 'rem_new_property_submitted', 'rem_custom_email_on_submission', 10, 1 );

function rem_custom_email_on_submission($property_id){
    wp_mail( 'your@email.com', 'New Property Submitted', 'A new property is submitted.');
}

 

Previous rem_css_kit_styles
Next rem_new_property_approved