wpseek.com
A WordPress-centric search engine for devs and theme authors



get_sample_permalink_html › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( 'get_sample_permalink_html', $return, $post->ID, $new_title, $new_slug, $post )
Parameters: (5)
  • (string) $return Sample permalink HTML markup.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
  • (string|null) $new_title New sample permalink title.
    Required: Yes
  • (string|null) $new_slug New sample permalink slug.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
Defined at:
Codex:

Filters the sample permalink HTML markup.





Source

$return = apply_filters( 'get_sample_permalink_html', $return, $post->ID, $new_title, $new_slug, $post );