public function enqueueRecaptchaLibs()
    {
        if (($data = $this->didEnqueueLibs(__METHOD__))) {
            return $data; // Did this already.
        } // We only need to enqueue once.

        $data = [
            'scripts' => [
                'recaptcha' => [
                    'async' => true,
                    'sri'   => '', // No SRI, updated by Google.
                    'url'   => '//www.google.com/recaptcha/api.js',
                ],
            ],
        ];
        return $this->enqueueLibs(__METHOD__, $data);
    }
public function enqueueRecaptchaLibs()
    {
        if (($data = $this->didEnqueueLibs(__METHOD__))) {
            return $data; // Did this already.
        } // We only need to enqueue once.

        $data = [
            'scripts' => [
                'recaptcha' => [
                    'async' => true,
                    'sri'   => '', // No SRI, updated by Google.
                    'url'   => '//www.google.com/recaptcha/api.js',
                ],
            ],
        ];
        return $this->enqueueLibs(__METHOD__, $data);
    }
public function enqueueRecaptchaLibs ( ) { if ( ( $ data = $ this -> didEnqueueLibs ( __METHOD__ ) ) ) { return $ data ; // Did this already. } // We only need to enqueue once. $ data = [ 'scripts' => [ 'recaptcha' => [ 'async' => true , 'sri' => '' , // No SRI, updated by Google. 'url' => '//www.google.com/recaptcha/api.js' , ] , ] , ] ; return $ this -> enqueueLibs ( __METHOD__ , $ data ) ; }
Enqueue reCAPTCHA libs.

@since 170311.43193 reCAPTCHA libs.

@return array Library details.
Enqueue reCAPTCHA libs .