prefix . 'adfoin_integration'; $last_id = $wpdb->get_var( "SELECT MAX(id) FROM {$integration_table}" ); $last_id = empty( $last_id ) ? 0 : $last_id; $integration_title = 'Integration #' . ( $last_id + 1 ); $nonce = wp_create_nonce( 'adfoin-integration' ); $field_data = array(); $id = 0; $mode = 'new'; // Alphabetically sorted option lists for the searchable pickers. $form_providers_list = adfoin_get_form_providers_array(); $action_providers_list = adfoin_get_action_providers_array(); ?>