// 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
愛犬といけるおしゃれごはんメディア
Thu, 16 Jun 2022 09:48:33 +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
-
anea cafe 白金店 / 白金台、恵比寿
https://one-foodie.com/1774/?utm_source=rss&utm_medium=rss&utm_campaign=anea-cafe-%25e7%2599%25bd%25e9%2587%2591%25e5%25ba%2597-%25e7%2599%25bd%25e9%2587%2591%25e5%258f%25b0%25e3%2580%2581%25e6%2581%25b5%25e6%25af%2594%25e5%25af%25bf
Sat, 11 Jun 2022 12:14:51 +0000
https://one-foodie.com/?p=1774
Favorite 目次 anea cafe 白金店お店の特徴基本情報アクセス掲載協力anea cafe 白金店 東京都|白金台駅・恵比寿駅・広尾駅・白金高輪駅 愛犬家たちの中で有名なanea cafeの白金店。草彅 剛さ […]
The post anea cafe 白金店 / 白金台、恵比寿 first appeared on OneFoodie.
]]>