[wp-hackers] Is it possible to filter 'View post' or 'Preview' url in wp-admin
Ozh
ozh at planetozh.com
Mon Dec 7 12:55:40 UTC 2009
> I'm grepping through the wp-admin source files and I can't seem to find
> the filter or action I need. I would like to be able to change the 'View
> Post' and 'Preview' post links depending on the just saved post's
> category, so that I can make sure the user sees the post with the right
> template and context. Is this possible?
If you want to modify the text, adding a filter on 'gettext' will probably
do
See translate() in wp-includes/l10n.php
Ozh
More information about the wp-hackers
mailing list