post_excerpt_meta_box()

 

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
}

参数:post_excerpt_meta_box( object $post )

$post

(object)
(Required)

{acontent3}

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

50.00% (4) 次Baidu访问
12.50% (1) 次Google访问
37.50% (3) 次Sogou访问
  • 蜘蛛:Baidu,4次,更新时间:2019-05-19 08:52:20
  • 蜘蛛:Google,1次,更新时间:2019-04-24 10:43:01
  • 蜘蛛:Sogou,3次,更新时间:2019-04-23 05:08:40

参与评论