0
Vote
Compatible with GeoDirectory plugin Frontend user submissions
Please make this compatible with Geodirectory, for frontend submissions so followers can get notifified.
Plugin author of GD said for you to add this code to make it work:
_____________
The frontend form uses the Ajax hook to save the data.
You can ask the plugin Author for the code that sends the email and fire it inside the below hook, or make it work.
add_action( ‘geodir_ajax_post_saved’, ‘geodir_ajax_post_saved_custom_callback’, 10, 2 );
function geodir_ajax_post_saved_custom_callback( $post_data, $has_parent ){
// Add the follow Notification code here.
return $post_data;
}
___________
Thank you
(Participant)
shared this idea
Viewing 0 posts