[Plugin: Custom Upload Dir] How to use Category slug as upload folder
-
} else if($subdirs[$i] == ‘post_cat’){
$cat = get_the_category($cur_post->ID);
if(!empty($cat)){
$customdir .= $cat[0]->slug;
}
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Custom Upload Dir] How to use Category slug as upload folder’ is closed to new replies.