Advertisements

post_slug_meta_box

Definition:
function post_slug_meta_box($post) {}

Display slug form fields.

Parameters

  • object $post

Defined filters

  • editable_slug
    apply_filters('editable_slug', $post->post_name)

Source code

function post_slug_meta_box($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( apply_filters('editable_slug', $post->post_name) ); ?>" />

<?php

}

2585

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: