On this page
apply_filters( 'get_sample_permalink_html', string $return, int $post_id, string $new_title, string $new_slug, WP_Post $post )
Filters the sample permalink HTML markup.
Parameters
$returnstring-
Sample permalink HTML markup.
$post_idint-
Post ID.
$new_titlestring-
New sample permalink title.
$new_slugstring-
New sample permalink slug.
$postWP_Post-
Post object.
Source
File: wp-admin/includes/post.php. View all references
$return = apply_filters( 'get_sample_permalink_html', $return, $post->ID, $new_title, $new_slug, $post );
Related
Used By
| Used By | Description |
|---|---|
| get_sample_permalink_html() wp-admin/includes/post.php | Returns the HTML of the sample permalink slug editor. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_sample_permalink_html