" min="1" step="1" name="wp_jdt_page_length">








" min="0" step="1" name="wp_jdt_order_row">









"example", 'info' => "$wp_jdt_info", 'paging' => "$wp_jdt_paging", 'page_length' => "$wp_jdt_page_length", 'paging_type' => "$wp_jdt_paging_type", 'b_length_change' => "$wp_jdt_b_length_change", 'ordering' => "$wp_jdt_ordering", 'order_row_number' => "$wp_jdt_order_row", 'order_row_number_sort' => "$wp_jdt_order_row_sort", 'searching' => "$wp_jdt_searching", ), $atts, 'wp_jdt'); $table_id = esc_js($atts['id']); $table_info = esc_js($atts['info']); $table_paging = esc_js($atts['paging']); $table_page_length = esc_js($atts['page_length']); $table_paging_type = esc_js($atts['paging_type']); $table_b_length_change = esc_js($atts['b_length_change']); $table_ordering = esc_js($atts['ordering']); $table_order_row_number = esc_js($atts['order_row_number']); $table_order_row_number_sort = esc_js($atts['order_row_number_sort']); $table_searching = esc_js($atts['searching']); $wp_jdt_script = ""; $wp_jdt_script .= ""; // css and js wp_enqueue_style('jdt-style-data-tables'); wp_enqueue_script('jdt-js-datatables'); return $wp_jdt_script; } register_uninstall_hook(__FILE__, 'wp_jdt_uninstall'); // uninstall plug-in function wp_jdt_uninstall() { delete_option('wp_jdt_info'); delete_option('wp_jdt_paging'); delete_option('wp_jdt_page_length'); delete_option('wp_jdt_paging_type'); delete_option('wp_jdt_b_length_change'); delete_option('wp_jdt_ordering'); delete_option('wp_jdt_order_row'); delete_option('wp_jdt_order_row_sort'); delete_option('wp_jdt_searching'); }