post_excerpt_meta_box( object $post )

Display post excerpt form fields.


Description Description


Parameters Parameters

$post

(object) (Required)


Top ↑

Source Source

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: Codex 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://codex.wordpress.org/Excerpt' )
	);
?></p>
<?php
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.