diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..85e7c1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea/ diff --git a/class/class.cnv_protection_txt.php b/class/class.cnv_protection_txt.php new file mode 100644 index 0000000..1dbcc83 --- /dev/null +++ b/class/class.cnv_protection_txt.php @@ -0,0 +1,80 @@ + +
' . nl2br( esc_html( $alert_text ) ) . '
++ + +
+ '; + } + } + +} \ No newline at end of file diff --git a/class/cnv_protection_txt_settings.php b/class/cnv_protection_txt_settings.php new file mode 100644 index 0000000..7aa4309 --- /dev/null +++ b/class/cnv_protection_txt_settings.php @@ -0,0 +1,18 @@ + -設定を保存しました
-' . nl2br( esc_html( $alert_text ) ) . '
-'; - } -} - -new CNV_Protection_Text; \ No newline at end of file +new cnv_protection_txt; \ No newline at end of file diff --git a/template/cnv_protection_txt_form.php b/template/cnv_protection_txt_form.php new file mode 100644 index 0000000..01e27d7 --- /dev/null +++ b/template/cnv_protection_txt_form.php @@ -0,0 +1,57 @@ +
設定を保存しました