パラメータ分岐テスト


Warning: Undefined array key "test99" in /home/ideaan/aha.tokyo/public_html/wp-content/themes/cocoon-child-master/functions.php on line 157

Warning: Undefined array key "value" in /home/ideaan/aha.tokyo/public_html/wp-content/themes/cocoon-child-master/functions.php on line 158

Warning: Undefined array key "test3" in /home/ideaan/aha.tokyo/public_html/wp-content/themes/cocoon-child-master/functions.php on line 157

■if_req_param(exists) test1があれば表示

■if_req_param(not_exists) test99がなければ表示


パラメータ「test99」は存在しません。

■if_req_param(equals) & replace_req_params test2がYYYなら表示

■if_req_param(not_equals) & replace_req_params test3がXXXでなければ表示


パラメータ「test3」の値は「XXX」と等しくなく「」です。

他のパラメータtest1=、test2=があります。

■replace_req_params(エンコード使い分け) パラメータをリンク先などに設定(ブロックエディタやビジュアルエディタでは不具合発生の可能性ありとのこと)






URL「?test1=&test2=&test3=」へのリンク


simple_param_replace test4があればその値を、なければdefaultの値を表示

デフォルト+共通テキスト

disp_parm_one 予約済みパラメータ以外のうち一つを表示

デフォルトの値(指定しない場合は空文字)+共通テキスト