wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



private_title_format › WordPress Filter Hooks

Seit2.8.0
Veraltetn/v
apply_filters( 'private_title_format', $prepend, $post )
Parameter: (2)
  • () prepend Text displayed before the post title. Default 'Private: %s'.
    Erforderlich: Ja
  • () post Current post object.
    Erforderlich: Ja
Definiert in:
Codex:

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

The filter is only applied on the front end.




Quellcode

$private_title_format = apply_filters( 'private_title_format', $prepend, $post );