get_sample_permalink

最后更新于:2021-11-26 23:14:06

apply_filters( ‘get_sample_permalink’, array $permalink, int $post_id, string $title, string $name, GC_Post $post )

Filters the sample permalink.

参数

$permalink

(array)
Array containing the sample permalink with placeholder for the post name, and the post name.

  • (string) The permalink with placeholder for the post name.
  • ‘1’
    (string) The post name.

$post_id

(int)
Post ID.

$title

(string)
Post title.

$name

(string)
Post name (slug).

$post

(GC_Post)
Post object.

源文件

文件: gc-admin/includes/post.php

View on Trac