elgg_register_event_handler(string $event, string $type, callable|string $callback, int $priority=500)
Helper functions for event handling.
elgg_unregister_event_handler(string $event, string $type, callable|string $callback)
Unregisters a callback for an event.
$params
Saves global plugin settings.
elgg_deprecated_notice(string $msg, string $dep_version)
Log a notice about deprecated use of a function, view, etc.
elgg_get_user_by_username(string $username, bool $try_email=false)
Get a user by username.
get_user_by_username($username)
Get user by username.
elgg_trigger_event_results(string $event, string $type, array $params=[], $returnvalue=null)
Triggers an event where it is expected that the mixed return value could be manipulated by event call...
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
elgg_clear_plugin_hook_handlers($hook, $type)
Clears all callback registrations for a plugin hook.
elgg_clear_event_handlers(string $event, string $type)
Clears all callback registrations for a event.
elgg_get_user_by_email(string $email)
Get a user from an email address.
get_user_by_email($email)
Get an array of users from an email address.
elgg_unregister_plugin_hook_handler($hook, $entity_type, $callback)
Unregister a callback as a plugin hook.
elgg_register_plugin_hook_handler($hook, $type, $callback, $priority=500)