wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



default_title › WordPress Filter Hooks

Da1.5.0
Deprecaton/a
apply_filters( 'default_title', $post_title, $post )
Parametri: (2)
  • (string) $post_title Default post title.
    Richiesto:
  • (WP_Post) $post Post object.
    Richiesto:
Definito a:
Codex:

Filters the default post title initially used in the "Write Post" form.





Sorgenti

$post->post_title = (string) apply_filters( 'default_title', $post_title, $post );