apply_filters( 'disable_captions', bool $bool )
Filters whether to disable captions.
Description
Prevents image captions from being appended to image HTML when inserted into the editor.
Parameters
- $bool
-
(bool) Whether to disable appending captions. Returning true to the filter will disable captions. Default empty string.
Source
Changelog
Version | Description |
---|---|
WP-2.6.0 | Introduced. |