Home / Knowledgebase / WPCargo Shipment Container Add-ons / How to allow user to access container menu How to allow user to access container menu //*Add this to your child theme's functions.php: *// add_filter( 'wpcsc_allowed_users', 'custom_allowed_users' ); function custom_allowed_users( $roles ){ $roles[] = 'wpcargo_client'; return $roles; }
How to allow user to access container menu //*Add this to your child theme's functions.php: *// add_filter( 'wpcsc_allowed_users', 'custom_allowed_users' ); function custom_allowed_users( $roles ){ $roles[] = 'wpcargo_client'; return $roles; }