Closed danloughmiller closed 1 year ago
@hasnain37 did you look into it? What's the status?
@afifa-glowlogix yes I have checked that issue and will resolve by this week.
@danloughmiller issue has been fixed , you can now use filter as following
add_filter('wpfep_profile_url', function($url) { if (!empty(get_current_user_id())) return get_author_posts_url( get_current_user_id() ); return $url; }, 10, 2);
When WPFEP_Profile's get_profile_url() is called there's an 'early out' if no page is selected which bypasses the filter applied later in the function. My goal was to send the user to the author's post's page.
Without a dummy page selected this filter cannot be applied: