Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 107
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 234
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 235
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 236
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 237
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 238
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 239
post_type === TDE_APP_PREFIX . '-course-template' || $post->post_type === TDE_APP_PREFIX . '-courses-template' ) ) {
// add_action( 'template_include', array( $this, 'load_page_template' ) );
add_action( 'template_redirect', array( $this, 'load_page_template' ) );
add_filter( 'droip_assets_should_load', array( $this, 'load_droip_assets' ) );
}
}
}
/**
* Load droip page template
* it will include the template file insted of original template file
* $loadForIframe = true if load for iframe
*
* @param string $original wp action for template file load.
* @return string template name.
*/
public static function load_page_template() {
get_header() . the_content() . get_footer();
exit();
}
/**
* Load droip assets
*
* @param bool $default_value default value.
* @return bool
* @since 1.0.0
*/
public function load_droip_assets( $default_value ) {
return true;
}
}