if ( ! class_exists( ‘WooCommerce’ ) ) { return; } add_filter( ‘woocommerce_shipping_fields’, ‘rd_add_shipping_phone_field’ ); function rd_add_shipping_phone_field( $fields ) { $fields[‘shipping_phone’] = array( ‘label’ => __( ‘Phone (For Delivery Tracking SMS)’, ‘woocommerce’ ), ‘required’ => false, ‘class’ => array( ‘form-row-wide’ ),…Continue reading
/** * Initialize custom meta fields for Audio > Speakers products. * * Applies to product_cat slugs: * – speakers * – full-range * – subwoofers * – monitors * – line-array * * Change the slugs in $speaker_category_slugs if…Continue reading
/** * Initialize custom meta fields for Lighting > Lighting Fixtures products. * * Applies to product_cat slugs: * – lighting-fixtures (parent Lighting Fixtures) * – followspots * – pars * – wash-lights * – dj-lights * – uplights *…Continue reading
add_action( ‘init’, function () { // Only run if TEC/tribe() container exists. if ( ! function_exists( ‘tribe’ ) ) { return; } /* Disable Zoom provider actions */ $zoom_provider = tribe( \Tribe\Events\Virtual\Meetings\Zoom_Provider::class ); if ( $zoom_provider instanceof \Tribe\Events\Virtual\Meetings\Zoom_Provider ) {…Continue reading
/** * Plugin Name: MarketKing Vendor Dashboard Name Order Snippet * Description: Changes name display order in MarketKing vendor dashboard from “firstname lastname” to “lastname firstname” in all areas * Version: 1.0.0 * Author: Custom Snippet * * Instructions: *…Continue reading
LOGIN REGISTRATIONContinue reading
LOGIN REGISTRATIONContinue reading
Loading the Elevenlabs Text to Speech AudioNative Player…Continue reading
// Exit if accessed directly if (!defined(‘ABSPATH’)) { exit; } // Check if WooCommerce is active if (!in_array(‘woocommerce/woocommerce.php’, apply_filters(‘active_plugins’, get_option(‘active_plugins’)))) { add_action(‘admin_notices’, ‘superwp_wc_not_active_notice’); function superwp_wc_not_active_notice() { ?>Continue reading