elgg_delete_annotations(array $options)
Deletes annotations based on $options.
if(!$user||!$user->canDelete()) $name
elgg_get_annotations(array $options=[])
Fetch annotations or perform a calculation on them.
if($who_can_change_language=== 'nobody') elseif($who_can_change_language=== 'admin_only'&&!elgg_is_admin_logged_in()) $options
elgg_list_annotations(array $options=[])
Returns a rendered list of annotations with pagination.
elgg_list_entities(array $options=[], callable $getter=null, callable $viewer=null)
Returns a string of rendered entities.
elgg_get_annotation_from_id(int $id)
Elgg annotations Functions to manage object annotations.
_elgg_services()
Get the global service provider.
$id
Generic annotation delete action.
elgg_annotation_exists(int $entity_guid, string $name, int $owner_guid=0)
Check to see if a user has already created an annotation on an object.
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.
elgg_delete_annotation_by_id(int $id)
Deletes an annotation using its ID.