How to show empty category in admin menus search

Show empty category in admin menu search

//back
add_filter( 'get_terms_args', 'wpd_show_empty_terms_in_quick_search', 10, 2 );

function wpd_show_empty_terms_in_quick_search( $args, $taxonomies ){
    $args['hide_empty'] = false;
    return $args;
}

Leave a Comment

tech