EditSearchSettings

Description

Edit some general settings related to the search function.

Syntax

mixed EditSearchSettings ([bool $return_config])



Parameter $return_config

Expected type: Boolean
Description: Whether or not to return the array of config variables. 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 vars arrays. Used for searching for settings from the admin center.


Notes

  • Called by ?action=admin;area=managesearch;sa=settings.
  • Requires the admin_forum permission.
  • Uses the 'modify_settings' sub template of the ManageSearch template.
  • Returns the config variables if $return_config is true
Advertisement: