From e99437426fcc51b82f3aba7e3f2939cd4f32eef0 Mon Sep 17 00:00:00 2001 From: ashubawork Date: Wed, 12 Apr 2023 15:50:09 +0300 Subject: [PATCH] - change hook name --- includes/admin/core/class-admin-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/core/class-admin-settings.php b/includes/admin/core/class-admin-settings.php index f3de32d4..2b275f91 100644 --- a/includes/admin/core/class-admin-settings.php +++ b/includes/admin/core/class-admin-settings.php @@ -3074,7 +3074,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) { set_transient( 'um_check_template_versions', current_time( 'd/m/Y H:i' ), 12 * HOUR_IN_SECONDS ); foreach ( $scan_files as $key => $file ) { if ( ! str_contains( $file, 'email/' ) ) { - $located = apply_filters( 'um_get_theme_template', array(), $file ); + $located = apply_filters( 'um_get_path_template', array(), $file ); if ( ! empty( $located ) ) { $theme_file = $located['theme'];