This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 |