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)
  • (string) $post_content Default post content.
    Richiesto:
  • (WP_Post) $post Post object.
    Richiesto:
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 );