wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



private_title_format › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
› apply_filters( 'private_title_format', $prepend, $post )
Parametry: (2)
  • () prepend Text displayed before the post title. Default 'Private: %s'.
    Wymagane: Tak
  • () post Current post object.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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

The filter is only applied on the front end.




Źródło

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