User Tools

Site Tools


bigace:developer:filter:credits

Table of Contents

credits

The credits filter will be executed before the About screen will be rendered.

It holds an array of credit entries.

Example usage

Hooks::add_filter('credits', 'getAdminCredits', 10, 1);
 
function getAdminCredits(array $credits)
{
    $credits['Foo'] = array(
        'Foo' => array(
            'title' => 'foo',
            'weblink' => "http://wiki.bigace.de/bigace:extensions:foo",
            'copyright' => "Kevin Papst",
            'description' => "Foo is a plugin to demonstrate the 'credits' filter."
        )
    );
    return $credits;
}

See also

  • You can also create an INI file to display Credits.
  • Writing Plugin to extend Bigace
bigace/developer/filter/credits.txt · Last modified: 2011/01/22 17:25 by bigace