Forums
-
- Forum
- Posts
-
- Installation
- 28,532
- Troubleshooting
- 62,748
- Themes
- 10,443
- Plugins
- 15,383
- Requests & Feedback
- 14,983
- Showcase
- 3,257
-
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