public function ajax_get_wp_widget_form()
{
if (empty($_POST['_nonce']) || !wp_verify_nonce($_POST['_nonce'], 'elementor-editing')) {
die;
}
$widget_type = $_POST['widget_type'];
$widget_obj = $this->get_widget_types($widget_type);
if (!$widget_obj instanceof Widget_WordPress) {
wp_send_json_error();
}
$data = json_decode(stripslashes(html_entity_decode($_POST['data'])), true);
wp_send_json_success($widget_obj->get_form($data));
}