editable_slug, $post->post_name, $post

editable_slug, $post->post_name, $post

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('editable_slug, $post->post_name, $post') is found 3 times:

  • /wp-admin/includes/meta-boxes.php line 938
     * @param WP_Post $post Current post object.
     */
    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
    	/* translators: Hidden accessibility text. */
    	_e( 'Slug' );
    	?>
    
  • /wp-admin/includes/post.php line 1520
    		$permalink = str_replace( '%pagename%', "{$uri}%pagename%", $permalink );
    	}
    
    	/** This filter is documented in wp-admin/edit-tag-form.php */
    	$permalink         = array( $permalink, apply_filters( 'editable_slug', $post->post_name, $post ) );
    	$post->post_status = $original_status;
    	$post->post_date   = $original_date;
    	$post->post_name   = $original_name;
    	$post->filter      = $original_filter;
    
    	/**
    
  • /wp-admin/includes/template.php line 323
    	echo '
    <div class="hidden" id="inline_' . $post->ID . '">
    	<div class="post_title">' . $title . '</div>' .
    	/** This filter is documented in wp-admin/edit-tag-form.php */
    	'<div class="post_name">' . apply_filters( 'editable_slug', $post->post_name, $post ) . '</div>
    	<div class="post_author">' . $post->post_author . '</div>
    	<div class="comment_status">' . esc_html( $post->comment_status ) . '</div>
    	<div class="ping_status">' . esc_html( $post->ping_status ) . '</div>
    	<div class="_status">' . esc_html( $post->post_status ) . '</div>
    	<div class="jj">' . mysql2date( 'd', $post->post_date, false ) . '</div>
    	<div class="mm">' . mysql2date( 'm', $post->post_date, false ) . '</div>