$content = elgg_list_entities(array(
'type' => 'object',
'subtype' => 'page_top',
'full_view' => false,
'no_results' => elgg_echo('pages:none'),
'metadata_name_value_pairs' => array(
array(
'name' => 'tags',
'value' => 'hoho',
)),
i've tried this but it still returns all page_top entitities , i just want page_top entities that have "hoho" tag in their tags
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Jerome Bakker@jeabakker

Jerome Bakker - 0 likes
You must log in to post replies.I see 'page_top' as the subtype, so i assume you're using Elgg 2.3.
then use elgg_list_entities_by_metadata()