/*
	Theme Name:	Xtra Child
	Theme URI:	https://www.rtl-theme.com/xtra-corporate-woocommerce-theme/
	Description:Sample child theme of Xtra theme for customization.
	Author:		Xtra Theme
	Author URI:	http://xtratheme.ir
	Template:	xtra
	Version:	1.0.0
*/

add_filter('gform_validation_message', function($message, $form) {
    return str_replace('This field is required.', 'پر کردن این فیلد الزامی است.', $message);
}, 10, 2);