- This topic has 1 reply, 2 voices, and was last updated 1 week, 1 day ago by .
Hi! I’m trying to use MB Custom Table in a multisite environment.
Is there anything different about using MB Custom Tables with WP Multisite?
This is the code I’m using:
$meta_boxes = [
‘title’ => esc_html__( ‘NonMLs Videos FG’, ‘text-domain’ ),
‘storage_type’ => ‘custom_table’,
‘table’ => ‘nonmlsvideo’,
‘id’ => ‘nonmls-videos-fg’,
I set up the table using phpmyAdmin.
The name of the table in the database is: asites_10_nonmlsvideo.
I’ve tried change the ‘table’ parameter in the metabox code to ‘asites_10_nonmlsvideo’, but that didn’t help.
Is there something specific I need to know about running this in multisite?
Or is there problem probably a coding error on my part somewhere else?
- You must be logged in to reply to this topic.