Browsing through the code at http://core.trac.wordpress.org/, it appears that the file you’re looking for is /wp-includes/media.php. I wouldn’t recommend editing core files, though; any updates you make would be clobbered in the next upgrade.
Related Posts:
- Check if post/page has gallery?
- how to have the gallery shortcode output one single UL list instead of several DL?
- Automatically add this attribute to the gallery shortcode
- How do i link gallery thumbnails to different url’s using the wp native gallery?
- WordPress gallery ‘post_gallery’ filter doesn’t work with feeds?
- conditional shortcode not working
- Remove width and height attributes from [gallery] output
- Gallery shortcode menu order fix no longer working on WordPress 4.0
- conditional shortcode not working
- Some doubts about gallery shortcode in WordPress
- Should I cache default WordPress gallery shortcode output?
- Numbering Image List in Gallery
- Rewriting WordPress Gallery Shortcode with Bootstrap Carousel
- change wordpress gallery shortcode to slider
- Remove hyperlink on gallery shortcode
- Add custom setting that uses radio button to WP Gallery
- WordPress Gallery shortcode: Display one category ID only
- How to get gallery id inserted to a post?
- Check if post has gallery images/media
- How to Modify WordPress Default Image Gallery Shortcode
- Change WordPress Shortcode added in to post
- Gallery shortcode – change link file image size? (not using default fullsize image)
- add action only if gallery shortcode attribute is equal to?
- Unable to the get the gallery inserted between shortcodes
- Adding shortcode field to edit gallery / Gallery Settings
- How to change the output of gallery shortcode
- Replacement for gallery_shortcode function not taking all attributes
- How to Retrieve data of Gallery Shortcode and display it above a post
- How to copy [gallery] shortcode between posts using polylang [closed]
- How to display NextGEN gallery in templates?
- Use full size images in a specific gallery
- How to Enable embedding WordPress default gallery in comments?
- How to add new images to existing shortcode configuration?
- Gallery shortcode is empty but magically creates a gallery
- Can we add a single caption to the gallery shortcode?
- Automatically add class-attribute to gallery?
- Replace custom gallery shortcode with default gallery shortcode
- WordPress Gallery with ID’s Shortcode not Working
- Remove width and height attributes from [gallery] output
- Changing layout of defaul gallery output to masonry
- What makes a placeholder resizable in Tinymce?
- how to show last 5 images from the one post gallery
- Gallery Shortcode: using size=”full” doesn’t call the actual thumbnail image size
- How to manually fix the WordPress gallery code using PHP in functions.php?
- how to show the syntax of a shortcode
- Get first video from the post (both embed and video shortcodes)
- shortcode outputs first before the page content [duplicate]
- Shortcode attribute value with dash (hyphen)
- Shortcode content does not show in feed discription/excerpt
- Adding shortcode inside Visual Composer raw HTML [closed]
- Shortcode not working inside html input
- How to link to a alternative page in CSS
- How to handle a shortcode function directly?
- How can I get the current user email instead of user ID?
- Shortcodes output in the wrong order
- Adding short codes from a page’s content on header and hiding the same from page’s content
- How to add and submit input fields using a shortcode?
- How can i remove the paragraph from shortcodes content?
- Pass javascript array to shortcode
- WordPress shortcode display as plain text
- WordPress Shortcode callback function with a plugin
- Can I wrap an unordered list inside a shortcode?
- Create own WordPress shortcode gallery
- Saving post content to database with do_shortcode?
- Is it important to sanitize inputs in a shortcode that will be used in site that only I will post to?
- Wrap Shortcodes and wpautop
- Favorite websites with shortened hyperlinks
- Best way to find all shortcodes that come with WordPress
- Using Variables in Shortcodes
- Default Attributes in Shortcode Not Working
- Shortcode syntax errors
- How do I fit a function inside an opening and closing do_shortcode
- How to make shortcode which returns HTML?
- How to create a custom shortcode for custom login form?
- jQuery Tabs in Shortcode API
- Build Clickable Link Using Multiple Attributes
- Disable wpautop on Shortcode attributes
- remove shortcode pagination for specific url referrer
- Third-Party API – PHP Fatal Errors Paired with http_request_failed / cURL error 28
- Shortcode PHP file for two conditions passed when do shortcode
- Using within a shortcode
- How do I point bloginfo(‘stylesheet_directory’) to my parent theme?
- Add audio file to post using custom term meta field as link [closed]
- How to list child pages with excerpts, e.g. [child-pages depth=”1″ excerpt=”1″]
- Add a shortcode in woo-function.php
- Woocommerce products shortcode specific order
- Video shortcode outside WordPress not working with IE and mediaelement’s Flash fallback
- Display title of child pages in shortcode
- How to use extract shortcode in loop?
- What is the best way to include a template file within a shortcode?
- Shortcode templates
- Create plugin/function to catch XML-data via Shortcode
- Why My slider shortcode display above header
- Shortcode conversion to hrml when post is published
- Shotcode error on functions
- Shortcode for displaying the user’s first name?
- Can I prevent wordpress adding and tags to autoembeds
- Shortcode – Display inline icon before text [closed]
- How to use Shortcodes?
- What’s the syntax for embedding a Goggle sheet in a shortcode?