python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to hide Published Custom Post if a users membership has expired
WordPress Experts
can anyone help me with this topic?
I am creating a directory for a client. They have a membership site using woocommerce subscriptions. I created a custom post type for their member...

Programmer Injamam
Votes: 0
Answers: 1
In a NestJs app, how to unitTest rolesGuard and test it with stub user and admin roles?
So I have this nestjs app that uses jwtAuthGuard and RolesGuard on some api calls. I want to write unit tests to test that a method call (say Delete) requires an admin Role and user role cant perform ...

Ahmed J.
Votes: 0
Answers: 0
Laravel 7 - Redirecting different user roles to different view
The LoginController had this code before:
class LoginController extends Controller
{
public function showLoginForm(){
$roles = Role::all();
return view('auth...
Many Rodríguez
Votes: 0
Answers: 1
Laravel 7 - Roles and Permissions
I am having trouble restricting menu options for user roles in Laravel 7. The menu for 'admin' and 'profesor' are similar but I decided to make two different views for each one and make an @include in...
Many Rodríguez
Votes: 0
Answers: 1