• I have a code snippet like this:

    if ( !is_user_logged_in() && !is_front_page() && !is_home()) {
    	add_filter('the_content', function(){
    			return __('Please login first <br></br>');
    	}, 99);
    }

    it was working smoothly in version 2.2.3 but it is not working properly in version 2.3.1

    In every page without login it says: “Please login first”.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not working properly after update’ is closed to new replies.