Custom Fields
Support MB Custom Table MB Custom Table in a multisite environment

  • Creator
  • #22374
    Resolved jpascale

    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?

    Thanks, James

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.