Description
Filters the sample permalink. }
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/post.php | 1528 |
Parameters
Type | Name | Description |
---|---|---|
array | $permalink | { Array containing the sample permalink with placeholder for the post name, and the post name. |
int | $post_id | Post ID. |
string | $title | Post title. |
string | $name | Post name (slug). |
WP_Post | $post | Post object. |
PHP Doc
/**
* Filters the sample permalink.
*
* @since 4.4.0
*
* @param array $permalink {
* Array containing the sample permalink with placeholder for the post name, and the post name.
*
* @type string $0 The permalink with placeholder for the post name.
* @type string $1 The post name.
* }
* @param int $post_id Post ID.
* @param string $title Post title.
* @param string $name Post name (slug).
* @param WP_Post $post Post object.
*/