Re: Allow Images (0.9) Plugin – set permissions
Hello.
What I wanted was to allow only certain users to post images. And following your advice, this is what I did.
function allow_images_allowed_tags( $tags ) {
if (bb_current_user_can('moderate'))
{
$tags = array('src' => array(), 'title' => array(), 'alt' => array());
}
return $tags;
}
add_filter( 'bb_allowed_tags', 'allow_images_allowed_tags' );
?>
<?php
Worked just fine.
Thank you once again.
Regards,
Bob