Same here:
if a member has the role subscriber + a PaidMemershipPro role, the Dashbord bar is showing up regardless if you block it in Advanced Option.
Would be very very nice to also block individual role combinations.
Hey Romeli,
Thanks, I am fine.
I used XYZ PHP Code plugin in inject your snippet:
——————-
<?php
$user = wp_get_current_user();
if ( in_array( ‘administrator’, (array) $user->roles ) ) {
echo do_shortcode( ‘[bf form_slug=”publish-test”]’ ); }
<?php }
——————-
and I get this error. Can you help again ?
Parse error: syntax error, unexpected ‘&’ in /is/htdocs/…/insert-php-code-snippet/shortcode-handler.php(97) : eval()’d code on line 3
Fatal error: Exception thrown without a stack frame in Unknown on line 0