前提・実現したい動作
プラグインWooCommerce for Japanを使用しています。
プラグイン内の「配送方法」タブの「日付フォーマット」が
現在「Y/m/d」で「2020年8月20日」と表示されるようになっています。
これを「2020年8月20日(木)」と曜日表示が追加されるように変更したいです。
以下の方法を試しましたが、変化がありませんでした。
編集場所は上記の部分で正しいでしょうか?
また、記述・修正方法を教えていただきたいです。
どうぞよろしくお願い致します。
###試したこと
WP管理画面のプラグイン内から「日付フォーマット」部分を「Y/m/d」→「Y/m/d(D)」に変更。
ページには反映されませんでした。
FTPの下記PHPソースコードを「Y/m/d(D)」「Y年m月d日(D)」などに変更。
ページには反映されませんでした。
(編集したphpファイル:class-wc-admin-screen-4jp.php)
PHPソースコード
public function wc4jp_date_format(){ $title = __( 'Date format', 'woocommerce-for-japan' ); $descritpion = __( 'Please enter the format when you want to save the data by format. Use PHP format type.', 'woocommerce-for-japan' ); $descritpion .= '<a href="http://php.net/manual/ja/function.date.php" target="_blank">'.' '.__('Check from here.', 'woocommerce-for-japan' ).'</a>'; $this->wc4jp_plugin->wc4jp_input_text('date-format', $descritpion, 10, 'Y/m/d', $this->prefix); }
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。