Hi Frank
You will be pleased to know it's working now. It was may fault I'm afraid to say.
I cut part of the code out of the helper example and part from the thread relating to the issue with the Beaver plugin. In doing this I missed the closing tag for the REM statement hence the helper plugin even though activated it did nothing.
So to clarify this works perfectly -
/* autoptimize_filter_noptimize: stop autoptimize from optimizing, if user is logged in
@return: boolean, true or false */
add_filter('autoptimize_filter_noptimize','visual_noptimize',10,0);
function visual_noptimize() {
if (is_user_logged_in()) {
return true;
} else {
return false;
}
}
Please accept my apologies for this and thank you for being so diligent in looking for a solution.
Best regards
Peter