Change subnav default slug link all

there are a hook for this? i hide the link ( all) with the css:

#subnav ul li#rtmedia-nav-item-all-li{
display: none!important;

but the sub default slug is always “all” how set this on photo or video? tnk

p.s. i would like to set photo or video how default sub nav slug when tab media in clicked.