vfbp_recaptcha_public_key

Description

Filter the Google reCAPTCHA public key

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

Parameters

$public_key
(string) (required) The public key
Default: ''

Examples

Set the Google reCAPTCHA public key for all forms

add_filter( 'vfbp_recaptcha_public_key', 'filter_vfbp_recaptcha_public_key' );

function filter_vfbp_recaptcha_public_key( $public_key ){    
    return 'publickey_fromGoogle';
}