You can use the disable_captions filter, Just put it in your functions.php
add_filter( 'disable_captions', create_function('$a', 'return true;') );
Edit: As toscho pointed out this is a better solution!
add_filter( 'disable_captions', '__return_true' );
Related Posts:
- Always use for post images
- How to display a shortcode caption somewhere other than the_content
- Can I the caption shortcode to set caption to a data attribute, and with the image’s alignment intact?
- Filter to remove image dimension attributes?
- How to have different captions for same image, for galleries?
- Featured image shortcode
- Change WordPress image URLs via filter
- Change html structure of all img tags in WordPress
- Default Image Link Removal
- Remove title attribute from images
- hook into completed image upload filter
- Need help building a filter to edit the output of “image_send_to_editor”
- Filter Media Library by author or post_parent
- Preview Image Path in Admin Section
- Insert Images at Master Uniform Height
- How can I make all gallery images to open in a new window?
- Alter image output in content
- How can I remove the image attachment ALT field?
- add data-attribute to all images inside the_content()
- Filter to modify post_title after image upload?
- Change html structure of all img tags in WordPress
- get attributes/part of the gallery shortcode
- How do i reference the theme path in pages for images?
- Disable wordpress image sizes generation
- Editing built in Gallery shortcode to filter by categories
- Extend core block attributes in post content
- What’s the proper way to use the get_image_tag filter?
- Add attribute to caption shortcode from custom attachment field
- Get an image’s alt text in a shortcode using the image URL
- How to get image ID to use inside wp_read_image_metadata()?
- Shortcode for a link and thumbnail
- Is my code is right to make image shortcode
- Set Post Image Using Shortcode
- Is there any action/filter hook to use when an image gets edited in the editor?
- Turn off image captions in gallery view?
- How to create ‘Local’ filters for WordPress srcset sizes in template parts?
- How to add custom classes to figure element only if image has caption?
- Undefined index: sui_image_caption in [closed]
- add_shortcode to capture URL screenshot not loading correctly
- Change align classes for images
- Ho to add “Create Slider” option to default “Add Media” popup?
- How to filter the image embed code based on link type
- Add custom text in the media library image meta area
- Don’t show images inserted into content
- WP 5.3 Removing Default WordPress Image Sizes
- Redirect to another page using contact form 7? [closed]
- Filter for post_thumbnail: link to small src and add data-attribute [duplicate]
- Random image loader
- Remove Image Sizes in Media Settings Page
- Load Gallery Images with Title on Homepage BX Slider
- How can I use wp_save_image_editor_file filter?
- Weird failing request
- How to stop WordPress from completely overriding my tags in my templates?
- Is it possible to enable the ‘Link To’ field under ‘Attachment Display Settings’ for a Featured Image?
- Image and shortcode not showing in excerpt
- How can I change the to for lazyload wp smilies
- How to display a warning when an uploaded image is too small?
- How to change an image source when rendering on frontend?
- How to change Gallery image url in product page ? In function.php?
- Shortcode not work in picture source srcset tag
- How to get title of images in post content
- How to generate alt attributes with php / filters?
- change the h3 subtitles of the wordpress gallery shortcode
- Wrap post images with a link, not figure (image_send_to_editor doesn’t work)
- How to trigger “wp_handle_upload_prefilter” filter when uploading an image programatically?
- js alert in add_filter function for image_send_to_editor
- Post Images are not showing up whenever I use shortCodes in my posts
- WordPress Shortcode to display featured images only
- Dinamically modifying attributes of images on posts
- Caption Shortcode: what filter to change the image size?
- How to attach post ID to image links in WordPress tinymce editor
- image_send_to_editor filter – Unwanted paragraphs and line breaks
- How might one programmatically set the link for all images in all posts?
- Gallery with shortcode not showing
- Image filter works on attachement pages but not posts. I can’t get the image ID
- Surround uploaded image link with div
- Removing image dimensions from `the_content`
- Rename uploads filenames to POST-ID on upload
- I tried to move the featured image below the paragraphs but now it is displaying twice
- Can I turn an image into a button?
- How to add a link to media file for every image inserted in content?
- Replace image with its alt text?
- Get field added via attachment_fields_to_edit filter in Gutenberg
- Neither intermediate_image_sizes_advanced or intermediate_image_sizes filter is firing
- ‘Add Media’ to post – filter images
- How to load only a certain type of image (functions.php)
- Remove tab on product for one category, keep but change image for another
- How to allow shortcodes in image descriptions?
- ‘apply_filters’ is breaking some shortcodes/HTML but not all
- Can I register a new thumbnail size and have it be an option in “Add Media”?
- Serve different images per screen size and cache possible?
- Changing Image Size Settings does not show in Image Details
- Disable Media File Image Link On Mobile Devices
- Set two default featured images
- Automatically generate missing images
- Why isn’t add_image_size(‘event-secondary-image-thumbnail’, 250, 150) working?
- wordpress 4.22 does not generate thumbnail images
- Whats causing image quality to be degraded?
- How to make shortcode which returns HTML?
- How to implement CSS-defined images from bootstrap site in wordpress theme