Meta Box
Support Forum
Support › MB Custom Table › ✅GeoSpatial queries › Reply To: GeoSpatial queries
Hi David,
No, the plugin use $wpdb directly to add/update the data. Please use this:
$wpdb
global $wpdb; $data = [ 'ID' => $post_id, 'field_1' => 'value_1', 'field_2' => 'value_2', ]; $wpdb->insert( 'your_table', $data );