Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/link-template.php | apply_filters | 217 | /** * Filters the permalink structure for a post before token replacement occurs. * * Only applies to posts with post_type of 'post'. * * @since 3.0.0 * * @param string $permalink The site's permalink structure. * @param WP_Post $post The post in question. * @param bool $leavename Whether to keep the post name. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $permalink | The site's permalink structure. |
WP_Post | $post | The post in question. |
bool | $leavename | Whether to keep the post name. |