vfbp_recaptcha_private_key

Description

Filter the Google reCAPTCHA private key

This filter is will allow you to set the Google reCAPTCHA private key to override or substitute using the VFB Pro > Settings page

Parameters

$private_key
(string) (required) The private key
Default: ''

Examples

Set the Google reCAPTCHA private key for all forms

add_filter( 'vfbp_recaptcha_private_key', 'filter_vfbp_recaptcha_private_key' );

function filter_vfbp_recaptcha_private_key( $private_key ){    
    return 'privatekey_fromGoogle';
}