Can Someone Help me to Correct my shortcode for displaying a category?

Actually the problem is in this code that is, If I put the id directly in “terms” of any post type like; [arts-list 10], then this type of post which contains this id displays the posts on the frontend but if I put something else like terms => 'type' and then I try to display a specific type posts like; [arts-list type=10], no post displays on the frontend, actually in terms I think I have to pass parameter of shortcode but how I do, I can’t debug this, that’s why I asked you. I hope now you understand what is my problem.

Does the functions.php file ever get called during an AJAX call? Debug AJAX

Trying to figure out an issue a fellow programmer is having. I was wondering if the functions.php file get called at all when you do admin side AJAX? I know that when you do an AJAX call a part of WP gets loaded up to process the call and send back a response. Is the functions.php file included in that?