ModifyPostSettings

Description

Set any setting related to posts and posting.

Syntax

mixed ModifyPostSettings ([bool $return_config])



Parameter $return_config

Expected type: Boolean
Description: If true, returns an array of config vars. Default is false



Return value

Expected type: Mixed
Description:

Possible types
Allowed values Description
Void Returns nothing if $return_config is false
Array of arrays An array of config var arrays (see comment at beginning of ManageServer.php for more info)


Notes

  • Set any setting related to posts and posting.
  • Requires the admin_forum permission
  • Uses the edit_post_settings sub template of the Admin template.
  • Accessed from ?action=admin;area=postsettings;sa=posts.
  • Returns the array of config vars if $return_config is true
Advertisement: