post_excerpt_meta_box() – Display post excerpt form fields.

You appear to be a bot. Output may be restricted

Description

Displays post excerpt form fields.

Usage

post_excerpt_meta_box( $post );

Parameters

$post
( WP_Post ) required – Current post object.

Returns

void

Source

File name: wordpress/wp-admin/includes/meta-boxes.php
Lines:

1 to 14 of 14
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
}
 

 View on GitHub View on Trac