post_slug_meta_box()

 

File: wp-admin/includes/meta-boxes.php

function post_slug_meta_box( $post ) {
	/** This filter is documented in wp-admin/edit-tag-form.php */
	$editable_slug = apply_filters( 'editable_slug', $post->post_name, $post );
	?>
<label class="screen-reader-text" for="post_name"><?php _e( 'Slug' ); ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $editable_slug ); ?>" />
	<?php
}

参数:post_slug_meta_box( object $post )

$post

(object)
(Required)

{acontent3}

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

44.44% (4) 次Baidu访问
11.11% (1) 次Google访问
44.44% (4) 次Sogou访问
  • 蜘蛛:Baidu,4次,更新时间:2019-05-17 13:33:06
  • 蜘蛛:Google,1次,更新时间:2019-04-29 10:37:43
  • 蜘蛛:Sogou,4次,更新时间:2019-05-10 18:46:50

参与评论