WP PLUGIN CNV_PROTECTION_TXT

ファイル分割
This commit is contained in:
2021-06-30 10:51:16 +09:00
parent 247f3d4d26
commit 3e78366de6
6 changed files with 160 additions and 125 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
if ( ! class_exists( 'cnv_protection_txt_settings' ) ) {
class cnv_protection_txt_settings{
const ALERT_TEXT = 'このコンテンツはパスワードで保護されています。閲覧するには以下にパスワードを入力してください。';
const BTN_LABEL = 'パスワード';
const BTN_TEXT = '確定';
const TEMPLATE_DIR = __DIR__ . '/../template/';
}
}