How to get list of entities by metadata ?

$content = elgg_list_entities(array(
    'type' => 'object',
    'subtype' => 'page_top',
    'full_view' => false,
    'no_results' => elgg_echo('pages:none'),
    'metadata_name_value_pairs' => 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

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking