Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/post.php | apply_filters | 1550 | /** * Filters the sample permalink HTML markup. * * @since 2.9.0 * @since 4.4.0 Added `$post` parameter. * * @param string $return Sample permalink HTML markup. * @param int $post_id Post ID. * @param string $new_title New sample permalink title. * @param string $new_slug New sample permalink slug. * @param WP_Post $post Post object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $return | Sample permalink HTML markup. |
int | $post_id | Post ID. |
string | $new_title | New sample permalink title. |
string | $new_slug | New sample permalink slug. |
WP_Post | $post | Post object. |