get_sample_permalink_html

Advertisement

Summery Summery

Filters the sample permalink HTML markup.

Syntax Syntax

apply_filters( 'get_sample_permalink_html', string $return, int $post_id, string $new_title, string $new_slug, WP_Post $post )

Parameters Parameters

$return

(string) Sample permalink HTML markup.

$post_id

(int) Post ID.

$new_title

(string) New sample permalink title.

$new_slug

(string) New sample permalink slug.

$post

(WP_Post) Post object.

Source Source

File: wp-admin/includes/post.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Added $post parameter.
2.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.