Hi @dkance
Unfortunately, there’s no setting to restrict page/post per user.
Regards,
Hi. what if I do something like this is the backend
<?php
$enc_user = wp_get_current_user();
$user_role = json_encode($enc_user->roles);
echo gettype($user_role);
echo $user_role;
if ($user_role == ‘[“subscriber”]’ || $user_role == null){
echo “saadsa”;
[[ultimatemember form_id=”79″]] /* what syntax should I place here so it will actually display on my frontend? */
} else {
echo “saaaa”;
}
?>
thank you so much for your response.
Hi @champsupertramp Your response is very much appreciated.
Hi @hnbraymund
Please create a new topic for a new issue. Is @dkance an account of yours or you’re both different users?
Regards,
Hi sir @champsupertramp I already created another topic. Your response is very much appreciated. thank you so much! here is the link https://wordpress.org/support/topic/call-out-shortcode-on-wp-backend/
Hi @hnbraymund
I’ve responded to your topic. Please check.
Regards,
Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂
Regards,