About wcff_builder.php
-
Hello.
Is it possible to add hooks in wcff_builder.php?
Currently, on line 1336, it is as follows.
It’s hard to rewrite every update, so if it’s possible to add a hook, I’d like to ask.Thank you very much
This post uses Google Translate. I’m sorry if I sound rude.
$search_word = $_SESSION['code']; $ks_valle = ''; if (($handle = fopen('wp-content/themes/lightning_child/con_info01.csv', 'r')) !== false) { while (($data01 = fgetcsv($handle, 1000, ',')) !== false) { $date = new DateTime(); $date->setTimeZone(new DateTimeZone('Asia/Tokyo')); $todaytime = $date->format('Y-m-d G:i'); $eventtime = $data01[6]; if ($data01[0] == $search_word) { if (strtotime($todaytime) > strtotime($eventtime)) { $ks_valle = ''; } else { if (esc_attr($_meta['name']. $_index == 'wccpf_fie_mosyumei'. $_index)) { $ks_valle = $data01[5].' 様'; } if (esc_attr($_meta['name']. $_index == 'wccpf_fie_kojinmei'. $_index)) { $ks_valle = $data01[1].' 様'; } if (esc_attr($_meta['name']. $_index == 'wccpf_fie_sikijyou'. $_index)) { $ks_valle = $data01[9]; } if (esc_attr($_meta['name']. $_index == 'wccpf_fie_funeral_code'. $_index)) { $ks_valle = $data01[0]; } } } } fclose($handle); } $attrs = 'readonly value="'.$ks_valle.'" '.'name="'. esc_attr($_meta["name"] . $_index) .'" data-fkey="'. $_meta["key"] .'" '. $placeholder .' data-mandatory="' . $_meta["required"] . '" '. $_readonly .' data-field-type="'. $_meta["type"] .'" autocomplete="off" ';
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘About wcff_builder.php’ is closed to new replies.