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

        $data = [
            'scripts' => [
                'js-cookie' => [
                    'version' => '2.1.4',
                    'url'     => 'https://cdnjs.cloudflare.com/ajax/libs/js-cookie/%1$s/js.cookie.min.js',
                ],
            ],
        ];
        return $this->enqueueLibs(__METHOD__, $data);
    }
public function enqueueJsCookieLibs()
    {
        if (($data = $this->didEnqueueLibs(__METHOD__))) {
            return $data; // Did this already.
        } // We only need to enqueue once.

        $data = [
            'scripts' => [
                'js-cookie' => [
                    'version' => '2.1.4',
                    'url'     => 'https://cdnjs.cloudflare.com/ajax/libs/js-cookie/%1$s/js.cookie.min.js',
                ],
            ],
        ];
        return $this->enqueueLibs(__METHOD__, $data);
    }
public function enqueueJsCookieLibs ( ) { if ( ( $ data = $ this -> didEnqueueLibs ( __METHOD__ ) ) ) { return $ data ; // Did this already. } // We only need to enqueue once. $ data = [ 'scripts' => [ 'js-cookie' => [ 'version' => '2.1.4' , 'url' => 'https://cdnjs.cloudflare.com/ajax/libs/js-cookie/%1$s/js.cookie.min.js' , ] , ] , ] ; return $ this -> enqueueLibs ( __METHOD__ , $ data ) ; }
Enqueue JS Cookie libs.

@since 170623.59000 JS Cookie libs.

@return array Library details.
Enqueue JS Cookie libs .