Skip to content

Instantly share code, notes, and snippets.

View juho-jaakkola's full-sized avatar

Juho Jaakkola juho-jaakkola

  • Posti Group Oyj
  • Nokia, Finland
View GitHub Profile
<?php
elgg_register_event_handler('init', 'system', 'my_init');
function my_init () {
elgg_register_plugin_hook_handler('access:collections:write', 'all', 'my_acl_options');
}
/**
* Allow selecting any group as read/write access regardless of page context