2013020601-set_character_limit.php 187 B

12345678910
  1. <?php
  2. /**
  3. * The limit is new in Elgg 1.9
  4. */
  5. $char_limit = elgg_get_plugin_setting('limit', 'thewire');
  6. if ($char_limit === null) {
  7. elgg_set_plugin_setting('limit', 140, 'thewire');
  8. }