import { Button } from '@wordpress/components'; import { useEffect, useState } from '@wordpress/element'; import { __, sprintf } from '@wordpress/i18n'; import { Icon, check, warning } from '@wordpress/icons'; import { installPlugin, activatePlugin } from '@shared/api/wp'; import { useActivityStore } from '@shared/state/activity'; export const RecommendationCard = ({ recommendation }) => { if (recommendation.pluginSlug) { return ; } return ; }; const LinkCard = ({ recommendation }) => { const { by, slug, description, image, title, linkType } = recommendation; const { incrementActivity } = useActivityStore(); if (!recommendation?.[linkType]) return null; return ( incrementActivity(`recommendations-${slug}`)} target="_blank" rel="noopener noreferrer" className="cursor-pointer rounded border border-gray-200 bg-transparent p-4 text-left text-base no-underline hover:border-design-main hover:bg-gray-50 rtl:text-right">
{
{title}
{by &&
{by}
}
{description}
); }; const InstallCard = ({ recommendation }) => { const { by, slug, description, image, title, pluginSlug } = recommendation; const { incrementActivity } = useActivityStore(); return (
incrementActivity(`recommendations-install-${slug}`)} className="rounded border border-gray-200 bg-transparent p-4 text-left text-base rtl:text-right">
{
{title}
{by &&
{by}
}
{description}
); }; const InstallButton = ({ pluginSlug }) => { const [installing, setInstalling] = useState(false); const [status, setStatus] = useState(''); useEffect(() => { const { installedPlugins, activePlugins } = window.extSharedData; const hasPlugin = (p) => p?.includes(pluginSlug); const installed = Object.values(installedPlugins).some(hasPlugin); const active = Object.values(activePlugins).some(hasPlugin); if (installed) setStatus('inactive'); if (active) setStatus('active'); }, [pluginSlug, setStatus]); const handleClick = async () => { setInstalling(true); try { await installPlugin(pluginSlug); } catch (_) { // Fail silently if the plugin is already installed } try { await activatePlugin(pluginSlug); setStatus('active'); } catch (_) { setStatus('error'); setTimeout(() => { setStatus(status); }, 1500); } setInstalling(false); }; if (status === 'error') { return ( <>

{__('Error', 'extendify-local')}

); } if (status === 'active') { return ( <>

{__('Active', 'extendify-local')}

); } if (status === 'inactive') { return ( ); } return ( ); };

Get Pro Addon to unlock more features

The features below are available in Nextend Social Login Pro Addon. Get it today and tweak the awesome settings.

If you already have a license, you can Authorize your Pro Addon. Otherwise you can purchase it using the button below.

Buy Pro Addon Authorize Pro Addon

Button style

Login form



Login layout

Register form



Register layout

Billing form


Action: woocommerce_after_checkout_billing_form

Action: woocommerce_after_checkout_registration_form

Action: woocommerce_after_checkout_shipping_form
Billing layout

Account details



Button alignment



Email template for registration


Defines whether the registration with Nextend Social Login will send the same registration notification that WooCommerce does, instead of the WordPress default one.

{"id":1481,"date":"2024-05-31T04:47:17","date_gmt":"2024-05-31T04:47:17","guid":{"rendered":"https:\/\/dispenseroo.store\/?post_type=product&p=1481"},"modified":"2025-02-04T14:42:49","modified_gmt":"2025-02-04T14:42:49","slug":"biscotti-badder","status":"publish","type":"product","link":"https:\/\/dispenseroo.store\/product\/biscotti-badder\/","title":{"rendered":"Biscotti Badder"},"content":{"rendered":"

Badder is a form of cannabis concentrate produced using fresh flower as opposed to dried and cured buds. The method retains the terpenes that are lost during the drying and curing process. Because the flavourful terpenes remain intact, live resin is considered a high-quality, connoisseur-level product.<\/p>\n

It can also be sprinkled on a packed bowl of flower in a glass pipe or wrapped around a joint or blunt. The combination of cured flower and live resin extract gives you a heightened experience as well as added flavour.<\/p>\n","protected":false},"excerpt":{"rendered":"

Biscotti Badder (1g)<\/strong><\/p>\n

Biscotti\u00a0is a potent indica-dominant\u00a0hybrid marijuana strain\u00a0made by crossing\u00a0Gelato 25\u00a0with\u00a0Sour Florida OG. This strain produces a cerebral high that leave\u00a0consumers feeling\u00a0relaxed,\u00a0creative, and buzzy from head-to-toe. The effects of Biscotti are known to creep up on consumers, so it’s best to take it slow with this strain. In terms of flavour, Biscotti tastes like sweet cookies with undertones of diesel. Medical marijuana patients turn to this strain to relieve symptoms associated with stress,\u00a0anxiety, and\u00a0depression.<\/p>\n","protected":false},"featured_media":1561,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[31,32],"product_tag":[],"class_list":{"0":"post-1481","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-extracts","7":"product_cat-other","9":"first","10":"instock","11":"shipping-taxable","12":"purchasable","13":"product-type-simple","14":"add-to-wishlist-after_add_to_cart"},"_links":{"self":[{"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/product\/1481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/comments?post=1481"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/media\/1561"}],"wp:attachment":[{"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/media?parent=1481"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/product_brand?post=1481"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/product_cat?post=1481"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/product_tag?post=1481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}