Uses
Uses | Description |
---|---|
wp-includes/l10n.php: _e() | Display translated text. |
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
Display post excerpt form fields.
(object) (Required)
File: wp-admin/includes/meta-boxes.php
function post_excerpt_meta_box( $post ) { ?> <label class="screen-reader-text" for="excerpt"><?php _e( 'Excerpt' ); ?></label><textarea rows="1" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea> <p> <?php printf( /* translators: %s: Documentation URL. */ __( 'Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="%s">Learn more about manual excerpts</a>.' ), __( 'https://wordpress.org/support/article/excerpt/' ) ); ?> </p> <?php }
Version | Description |
---|---|
2.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/post_excerpt_meta_box