wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_sample_permalink › Hooks de Filtros WordPress

Desde4.4.0
Obsoleton/a
› apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post )
Parâmetros: (5)
  • () 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. }
    Required: Yes
  • () post_id Post ID.
    Required: Yes
  • () title Post title.
    Required: Yes
  • () name Post name (slug).
    Required: Yes
  • () post Post object.
    Required: Yes
Definido em:
Codex:

Filters the sample permalink.





Fonte

return apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post );