I don’t want to request ReCaptcha for logged in users
Download master.zip from github and you can use this filter:
add_filter('ap_show_captcha', 'my_ap_captch_filter', 10, 2); function my_ap_captch_filter($true, $user_id){ if ($user_id == get_current_user_id()) return false; return $true; }
Stacy commented on answer
Stacy commented
Hello, still waiting. Not seeing.
Googled Anspress site:github.com
Stacy commented
You meant download anspress plugin from github. However the latest version still requests it for logged in users.
https://github.com/anspress/anspress
Stacy commented
Which file to put this filter in?
Silly_Cybin commented
@Stacy I think functions.php in your theme’s folder. (wp-content/themes/your_active_theme/functions.php)
Stacy commented
My theme or the plugin ?
Not familiar with using github. Not seeing a download when searching master.zip. Is there a link? Would this upload as is as a plugin where I then add your code to what lines?