Support MB Custom Table GeoSpatial queries Reply To: GeoSpatial queries

#13134
Anh TranAnh Tran
Keymaster

Hi David,

No, the plugin use $wpdb directly to add/update the data. Please use this:

global $wpdb;
$data = [
    'ID'      => $post_id,
    'field_1' => 'value_1',
    'field_2' => 'value_2',
];
$wpdb->insert( 'your_table', $data );