Un motore di ricerca WordPress per sviluppatori e autori di temi



private_title_format ›

Da2.8.0
Deprecaton/a
apply_filters( 'private_title_format', __( 'Private: %s' )
Parametri: (2)
  • (string) $prepend Text displayed before the post title. Default 'Private: %s'.
    Richiesto:
  • (WP_Post) $post Current post object.
    Richiesto:
Definito a:
Codex:

Filters the text prepended to the post title of private posts.

The filter is only applied on the front end.





Sorgenti

$private_title_format = apply_filters( 'private_title_format', __( 'Private: %s' ), $post );