Un motore di ricerca WordPress per sviluppatori e autori di temi



protected_title_format ›

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

Filters the text prepended to the post title for protected posts.

The filter is only applied on the front end.





Sorgenti

$protected_title_format = apply_filters( 'protected_title_format', __( 'Protected: %s' ), $post );