prepare_blogs_frontend

Extends or modifies data of blogs displayed in frontend.

Blog

Input (passed by reference)

$params array Array of data of all available blogs.
… your plugin code …

Output

Blog

Plugin code example

PHP

public function prepareBlogsFrontend(&$params)
{
    waLog::log(print_r($params, true), 'blog/myplugin/prepare-blogs-frontend.log');
    foreach ($params as &$blog) {
        $blog['icon_url'] = '...'; //assign custom icons to blogs displayed in frontend
    }
}