| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/stirizo/wp-content/plugins/widgetkit-pro/inc/learndash/templates/ |
Upload File : |
<?php
if( !empty( wkfe_learndash_template_selected_post_arr() ) ) {
$templatepostid = '';
if( array_key_exists(get_the_ID(),wkfe_learndash_template_selected_post_arr()) ) {
$templatepostid = wkfe_learndash_template_selected_post_arr()[get_the_ID()]['mytemplate_id'];
} elseif( array_key_exists('all',wkfe_learndash_template_selected_post_arr()) ) {
$templatepostid = wkfe_learndash_template_selected_post_arr()['all']['mytemplate_id'];
}
if( $templatepostid && did_action('elementor/loaded') ) {
$elementor_instance = \Elementor\Plugin::instance();
echo $elementor_instance->frontend->get_builder_content_for_display( $templatepostid );
} else {
include LEARNDASH_LMS_PLUGIN_DIR . 'themes/ld30/templates/course.php';
}
} else {
include LEARNDASH_LMS_PLUGIN_DIR . 'themes/ld30/templates/course.php';
}