退会確認アラートのテキスト変更
add_filter( 'nlmg_resign_confirm_label', 'nlmg_resign_confirm_label_change' );
function nlmg_resign_confirm_label_change( $text ) {
$text = '本当に退会してもよろしいですか?';
return $text;
}
ボタン名称変更
add_filter( 'nlmg_resign_button_label', 'nlmg_button_label_change' );
function nlmg_button_label_change( $text ) {
$text = '退会する';
return $text;
}
コメント