Uma área de pesquisa sobre o WordPress para devs e autores do tema



protected_title_format ›

Desde2.8.0
Obsoleton/a
apply_filters( 'protected_title_format', __( 'Protected: %s' )
Parâmetros: (2)
  • (string) $prepend Text displayed before the post title. Default 'Protected: %s'.
    Required: Yes
  • (WP_Post) $post Current post object.
    Required: Yes
Definido em:
Codex:

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

The filter is only applied on the front end.





Fonte

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