get_sample_permalink_html
get_sample_permalink_html ( $post, $new_title = null, $new_slug = null )
Parameters:- (int|WP_Post) post Post ID or post object.
- (string|null) new_title Optional. New title. Default null.
- (string|null) new_slug Optional. New slug. Default null.
Returns:- (string) The HTML of the sample permalink slug editor.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Returns the HTML of the sample permalink slug editor.