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
var el = wp.element.createElement,
registerBlockType = wp.blocks.registerBlockType,
withSelect = wp.data.withSelect;
/**
* Block for student registration
*
*/
registerBlockType('tutor-gutenberg/student-registration', {
title: 'Student Registration',
icon: 'welcome-learn-more',
category: 'tutor',
edit: function (props) {
var dataHtml;
jQuery.ajax({
url: ajaxurl,
type: 'POST',
async: false,
data: { shortcode: 'tutor_student_registration_form', action: 'render_block_tutor' },
success: function (response) {
dataHtml = response.data;
},
});
return el('div', {
dangerouslySetInnerHTML: {
__html: dataHtml
}
})
},
save: function () {
return null;
//return el( 'div', { }, '[tutor_student_registration_form]' );
},
});
/**
* Block for instructor registration
*
*/
registerBlockType('tutor-gutenberg/instructor-registration', {
title: 'Instructor Registration',
icon: 'welcome-learn-more',
category: 'tutor',
edit: function (props) {
var dataHtml;
jQuery.ajax({
url: ajaxurl,
type: 'POST',
async: false,
data: { shortcode: 'tutor_instructor_registration_form', action: 'render_block_tutor' },
success: function (response) {
dataHtml = response.data;
},
});
return el('div', {
dangerouslySetInnerHTML: {
__html: dataHtml
}
})
},
save: function () {
return null;
},
});