2018-01-30, 08:23 PM
I've been searching and haven't found anything on this yet. Is the correct way to create a custom profile field through a plugin using the $db->insert_query command? So it would look something like this.. I'm guessing the fields I don't have listed here will have a default value which I don't care about.
$customfield = array(
array("name", "Twitch Channel",
"description", "Twitch Channel Name",
"disporder", 0,
"type", "text",
),
);
$db->insert("profilefields", $customfield)