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":1477,"date":"2024-05-31T04:46:05","date_gmt":"2024-05-31T04:46:05","guid":{"rendered":"https:\/\/dispenseroo.store\/?post_type=product&p=1477"},"modified":"2025-02-04T14:43:11","modified_gmt":"2025-02-04T14:43:11","slug":"gelato-33","status":"publish","type":"product","link":"https:\/\/dispenseroo.store\/product\/gelato-33\/","title":{"rendered":"Gelato 33"},"content":{"rendered":"
\n
\n

When you combine a fairly psychoactive experience with strong physical effects, it\u2019s no wonder that this strain is ideal for medical use. Above all else, mental concerns including depression and stress are soothed to the point that you\u2019ll be smiling no matter what\u2019s going on around you. Physical pain is counteracted by the buzz you\u2019ll feel, allowing for relief from cramps and body aches. Users who are extra sensitive, or those who just smoke a lot, will find that Gelato #33 can help fight insomnia with the best of them.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"

Gelato 33… <\/b>If you\u2019re the type who loves their dessert after dinner, it might be time to scoop some up. With parents like Sunset Sherbert and Thin Mint Girl Scout Cookies, it’s almost guaranteed a good time. 33, named after Larry Bird, believe it or not, holds itself in a category of her own – and for good reason. Gelato 33\u2019s nugs are absolutely lovely with a delicate structure and tons of frosty trichomes. Scents of orange, earth, and mint are attributed to her parents, while flavors are more in the realm of berry and citrus.<\/p>\n

\n

Even the most experienced of smokers should take note when it comes to this strain, as her effects are super strong. An instant head rush will overtake you and while you\u2019ll be incredibly happy and uplifted, it can be a bit intense. Soon after, body relaxation kicks in, and once it\u2019s coupled with an all over buzzing sensation, you\u2019ll really be having fun. Social, creative, and relaxing, Gelato #33 is everything a good strain should be.<\/p>\n<\/p><\/div>\n","protected":false},"featured_media":1554,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[21,28],"product_tag":[],"class_list":{"0":"post-1477","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-cali-flowers","7":"product_cat-thc-flowers","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\/1477","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=1477"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/media\/1554"}],"wp:attachment":[{"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/media?parent=1477"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/product_brand?post=1477"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/product_cat?post=1477"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/dispenseroo.store\/wp-json\/wp\/v2\/product_tag?post=1477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}