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
- $return
-
Sample permalink HTML markup.
- $post_id
-
Post ID.
- $new_title
-
New sample permalink title.
- $new_slug
-
New sample permalink slug.
- $post
-
Post object.
Source
Changelog
Version | Description |
---|---|
WP-4.4.0 | Added $post parameter. |
WP-2.9.0 | Introduced. |