WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_sample_permalink

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/post.php apply_filters 1465 /**
* 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.
*/

Hook Parameters

Parameter Type Name Description
array $permalin k {
int $post_id Post ID.
string $title Post title.
string $name Post name (slug).
WP_Post $post Post object.