Support › MB Custom Table › GeoSpatial queriesResolved
I am interested in using WP-GeoMeta with Metabox Custom Tables:
The plugin detects GeoJson metadata and copies the geo data to a separate spatial table.
Does Metabox Custom Tables use standard WordPress meta functions that will allow GeoMeta to intercept the save and copy the data to its dedicated table?
No, the plugin use $wpdb directly to add/update the data. Please use this:
$data = [
'ID' => $post_id,
'field_1' => 'value_1',
'field_2' => 'value_2',
$wpdb->insert( 'your_table', $data );
I'll let you know when I have something working.