[insert_php] if ( current_user_can( ‘affiliate’ ) ) {
echo ‘Affiliate Dashboard
 
‘;
echo ‘My Account | Commissions | Clicks | Payments | Generate Link | Settings
 
‘;
echo apply_filters( ‘the_content’,’

Register

‘);
}
else
{
echo apply_filters( ‘the_content’,’
‘);
}
[/insert_php]