From 514ad01cf4e6f01236fd59af9cde6ca1410bcd21 Mon Sep 17 00:00:00 2001 From: PranavAwasthi Date: Tue, 17 Dec 2024 10:59:46 +0530 Subject: [PATCH] added hooks for timer new feature --- php/admin/admin-results-details-page.php | 4 +++- php/shortcodes.php | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/php/admin/admin-results-details-page.php b/php/admin/admin-results-details-page.php index 59825ee2..09043b8c 100644 --- a/php/admin/admin-results-details-page.php +++ b/php/admin/admin-results-details-page.php @@ -196,7 +196,9 @@ function qsm_generate_results_details_tab() { //Timer design $template .= '
'; - $template .= '

'.__('Time Taken','quiz-master-next').'

'; + $template .= '

'.__('Time Taken','quiz-master-next').''; + $template .= apply_filters( 'qsm_admin_results_details_timer_after', $mlw_qmn_results_array ); + $template .= '

'; $template .= '
'; $template .= '
'; diff --git a/php/shortcodes.php b/php/shortcodes.php index 6ba8f462..25fcde9f 100644 --- a/php/shortcodes.php +++ b/php/shortcodes.php @@ -250,7 +250,8 @@ function qsm_display_popup_div( $return_display, $qmn_quiz_options ) { $return_display .= 'clock.png'; $return_display .= '

'. esc_html__( 'Time is Up!', 'quiz-master-next' ) .'

'; $return_display .= '
'; - $return_display .= '
'; $return_display .= '
'; + $return_display .= ''; + $return_display .= '
'; $return_display .= '
'; $return_display .= '
'; }