How to use allpost-contactform-str_replace.php ( "All Post Contact Form"'s Filter File - String Replace - )

allpost-contactform-str_replace.php ( "All Post Contact Form"'s Filter File - String Replace - ) is a filter file to delete/change (a) string(s) which you don't want to display on your 'Confirmation Window' and your 'Submission Window'.

How to delete (a) string(s) which you don't want to display
FORMAT:
$key = str_replace("string you want to delete 1", "", $key);
$value = str_replace("string you want to delete 2", "", $value);

Please see the sample written in allpost-contactform-str_replace.php.

SAMPLE:

//$key = str_replace("submit", "", $key);
//$value = str_replace("CONFIRM","", $value);
//$value = str_replace("確認する","", $value);

Delete '//' that is the top of the line of //$key = str_replace("submit", "", $key);, and 'submit' isn't displayed on your 'Confirmation Window' and your 'Submission Window'.

How to change (a) string(s) which you don't want to display
FORMAT:
$key = str_replace("string you want to change 1", "string you want to display 1", $key);
$value = str_replace("string you want to change 2", "string you want to display 2", $value);

Set the string on the right of "name=" as "string you want to change 1".
Set the string on the right of "value=" as "string you want to change 2".

if you'd like to change "zip01" of the next line:

<input type="text" name="zip01">

and you'd like to change "zip01" to "zip-code", please set allpost-contactform-str_replace.php as follows:

$key = str_replace("zip01", "zip-code", $key);

( , JST )

このページのURL: https://jp.rainbow-link.com/FAQ.htm?&faq_id=246


jp.Rainbow-Link.com

株式会社レインボーリンク