Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Akismet 4 link limit in posts or whitelist


Sam Bauers
Participant

@sambauers

Put this in a plugin file named ‘_addSuperuser.php’ in the my-plugins directory:

function addSuperuserToArray($array)
{
$array[] = 'Superuser';
return $array;
}

add_filter('bb_trusted_roles', 'addSuperuserToArray');

.

If there is no my-plugins directory in the bbPress root, just create it. The underscore at the start of the file name should make the file autoload, so it is available without activation in the admin area.

Skip to toolbar