Summery Summery
Displays the checkbox to scale images.
Syntax Syntax
Source Source
File: wp-admin/includes/media.php
if ( ! apply_filters( 'disable_captions', '' ) ) { $caption = ' <tr class="image-only"> <th scope="row" class="label"> <label for="caption"><span class="alignleft">' . __( 'Image Caption' ) . '</span></label> </th> <td class="field"><textarea id="caption" name="caption"></textarea></td> </tr>'; } else { $caption = ''; } $default_align = get_option( 'image_default_align' ); if ( empty( $default_align ) ) { $default_align = 'none'; }
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |