Function __global->add_author

Definitions

sources/authors.php

  • Adds an author (re-creating them if they already exist - thus it also serves to edit; the reason for this is the fluidity of authors - members are automatically authors even before an author profile is made).
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$author ID_TEXT required parameter N/A N/A The name of an author
$url URLPATH required parameter N/A N/A The URL to the authors home page
$member_id ?MEMBER required parameter N/A N/A The member ID of the author (null: no forum profile)
$description LONG_TEXT required parameter N/A N/A A description of the author
$skills LONG_TEXT required parameter N/A N/A A terse string showing author skills
$meta_keywords ?SHORT_TEXT Blank (empty string) N/A N/A Meta keywords for this resource (null: do not edit) (blank: implicit)
$meta_description ?LONG_TEXT Blank (empty string) N/A N/A Meta description for this resource (null: do not edit) (blank: implicit)