Forums
-
- Forum
- Posts
-
- Installation
- 27,621
- Troubleshooting
- 60,560
- Themes
- 10,191
- Plugins
- 14,973
- Requests & Feedback
- 14,607
- Showcase
- 3,238
-
Something like:
function no_login_notice( $a, $b ) {
if( $b !== 'You must <a href="%s">log in</a> to post.' )
return $a;
}
add_filter( 'gettext', 'no_login_notice', null, 2 );
should work I think
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS