Un motore di ricerca WordPress per sviluppatori e autori di temi



the_preview ›

Da2.7.0
Deprecaton/a
apply_filters_ref_array( 'the_preview', array( $this->posts[0], &$this )
Parametri: (2)
  • (WP_Post) $post_preview The Post object.
    Richiesto:
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Richiesto:
Definito a:
Codex:

Filters the single post for preview mode.





Sorgenti

$this->posts[0] = get_post( apply_filters_ref_array( 'the_preview', array( $this->posts[0], &$this ) ) );