We have moved to Github. Please open tickets there.

Opened 2 years ago

Last modified 23 months ago

#3000 new Enhancement

Specify default value in elgg_get_plugin_setting()

Reported by: ewinslow Owned by:
Priority: normal Milestone: Near Term Future Release
Component: Core Version: Github Master
Severity: minor Keywords:
Cc: brett@… Difficulty:

Description

Similar to elgg_extract, would be nice to be able to specify a default value. e.g.

$port = elgg_get_plugin_setting('port', null, 1234);

Change History (1)

comment:1 Changed 23 months ago by cash

  • Milestone changed from Elgg 1.8.x to Elgg 1.9
Note: See TracTickets for help on using tickets.