// Contact Form7のお問い合せフォーム項目にひらがなが無ければ送信不可
add_filter('wpcf7_validate_textarea', 'wpcf7_validation_textarea_hiragana', 10, 2);
add_filter('wpcf7_validate_textarea*', 'wpcf7_validation_textarea_hiragana', 10, 2);
function wpcf7_validation_textarea_hiragana($result, $tag)
{
$name = $tag['name'];
$value = (isset($_POST[$name])) ? (string) $_POST[$name] : '';
if ($value !== '' && !preg_match('/[ぁ-ん]/u', $value)) {
$result['valid'] = false;
$result['reason'] = array($name => 'エラー:こちらの内容は送信できません。');
}
return $result;
}
西新宿 - OneFoodie
https://one-foodie.com
愛犬といけるおしゃれごはんメディア
Fri, 27 May 2022 09:26:34 +0000
ja
hourly
1
https://wordpress.org/?v=6.5.2
https://one-foodie.com/wp-content/uploads/2022/06/afa90873013860400a88c91929068b3c-32x32.png
西新宿 - OneFoodie
https://one-foodie.com
32
32
-
In the Garden135 / 西新宿、新宿
https://one-foodie.com/1240/?utm_source=rss&utm_medium=rss&utm_campaign=in-the-garden135-%25e8%25a5%25bf%25e6%2596%25b0%25e5%25ae%25bf%25e3%2580%2581%25e6%2596%25b0%25e5%25ae%25bf
Fri, 27 May 2022 05:48:37 +0000
https://one-foodie.com/?p=1240
Favorite 目次 In the Garden135お店の特徴基本情報アクセス掲載協力In the Garden135 東京都|西新宿駅、新宿駅 ホテルローズガーデンの新館にあるin the garden135。とて […]
The post In the Garden135 / 西新宿、新宿 first appeared on OneFoodie.
]]>