customizable mesh and hide bone by name

i normally use hide bone by name or unhide bone by name ,but with customizable skeletal mesh

and for outfit meshs that disables certain bones it doens’t work

how can i hide bones? any idea?