- fix custom emails data

This commit is contained in:
ashubawork
2023-06-21 16:43:34 +03:00
parent b7d64e2d2f
commit 0df59e0549
+23 -23
View File
@@ -3491,34 +3491,34 @@ Account Deletion Notification: <?php echo $this->info_value( UM()->options()->g
--- UM Custom Templates ---
<?php // Show templates that have been copied to the theme's edd_templates dir
$dir = get_stylesheet_directory() . '/ultimate-member/templates/*.php';
if ( ! empty( $dir ) ) {
$found = glob( $dir );
if ( ! empty( $found ) ) {
foreach ( glob( $dir ) as $file ) {
echo "File: " . $file . "\n";
}
} else {
echo 'N/A'."\n";
}
} ?>
<?php // Show templates that have been copied to the theme's edd_templates dir
$dir = get_stylesheet_directory() . '/ultimate-member/templates/*.php';
if ( ! empty( $dir ) ) {
$found = glob( $dir );
if ( ! empty( $found ) ) {
foreach ( glob( $dir ) as $file ) {
echo "File: " . $file . "\n";
}
} else {
echo 'N/A'."\n";
}
} ?>
--- UM Email HTML Templates ---
<?php $dir = get_stylesheet_directory() . '/ultimate-member/templates/emails/*.html';
<?php $dir = get_stylesheet_directory() . '/ultimate-member/email/*.php';
if ( ! empty( $dir ) ) {
$found = glob( $dir );
if ( ! empty( $found ) ){
foreach ( glob( $dir ) as $file ) {
echo "File: ". $file . "\n";
}
} else {
echo 'N/A'."\n";
}
} ?>
if ( ! empty( $dir ) ) {
$found = glob( $dir );
if ( ! empty( $found ) ){
foreach ( glob( $dir ) as $file ) {
echo "File: ". $file . "\n";
}
} else {
echo 'N/A'."\n";
}
} ?>
--- Web Server Configurations ---