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?
- Alter media caption/description conflict in WordPress?
- Rename attachments during upload
- Change image url size in post editor (when cliking on image)
- Multiple images with Media Uploader on front-end
- image uploaded cant be shown
- Gallery with thumbnail carousel
- Omit image captions from get_the_content()
- How to limit the number of images displayed in the media window?
- Is it possible to preserve original images in order to change image size later?
- Need custom picture field for pages
- How to add onclick event to widget image
- Use default image as var
- HTTP error when uploading an image
- How to get post id of first child of the same post type?
- Site not showing Image in WordPress and in HTML code also which uploaded in root what is the solution for this?
- How to set a post featured image from an already made custom field
- How to call thumbnail by aqua resizer in best practice. Specify image dimensions’s notify from GTmetrix
- Guaranteed Image Sizes
- How to show file type of featured image?