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