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



default_content › WordPress Filter Hooks

Da1.5.0
Deprecaton/a
› apply_filters( 'default_content', $post_content, $post )
Parametri: (2)
  • () post_content Default post content.
    Richiesto: Sì
  • () post Post object.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

$post->post_content = (string) apply_filters( 'default_content', $post_content, $post );