Which are alternate function of elgg_is_registered_viewtype() & elgg_register_viewtype() ?

I am working on upgrading plugin to elgg3.0, and here i found elgg_is_registered_viewtype() & elgg_register_viewtype(), but i couldn't find alternate function of these functions or what should be instead of those functions.


  • Since we don't use different view types much these functions have been dropped.

    I think viewtypes are automatically detected based on the folders in /views. If you wish to check if a view exists in a viewtype you can use elgg_view_exists('someview', 'your_viewtype');

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