Use Full Store Address in Ships From

By default the Ships From metadata displayed under the add to cart button only shows the…

WooCommerce to Google Sheets schaahi store

add_action('woocommerce_order_status_completed', 'send_order_to_google_sheets', 10, 1); function send_order_to_google_sheets($order_id) { $order = wc_get_order($order_id); if (!$order) return; $line_items = $order->get_items();…

Add Custom Taxonomy to Woocommerce Single Product Page

add_action( 'woocommerce_product_meta_end', 'wcv_add_brands_single_product' ); function wcv_add_brands_single_product() { global $product; $taxonomy = 'wcv_brands'; // The custom taxonomy…

Stop Lazy Load

add_filter( 'wp_lazy_loading_enabled', '__return_false' );

<10

Add Subscriber to Segment with Duration

Adds the subscriber to the segment for a specific duration, after the defined number of days…

Action Scheduler Cleardown | Display Eventbrite Events

Eventbrite uses Action Scheduler to handle background tasks when background processing is enabled. By default, Action…

Post-States

add_filter( 'display_post_states', 'bu_style_post_state_bricks', 15, 2 ); function bu_style_post_state_bricks ($post_states, $post) { if( isset( $post_states['bricks'] ) )…

AJAX Grid Search (multiple grids)

Add ID of #gridSearch to the search form. Give your multiple grid container a class of…

WhatsApp Button to WooCommerce Single Product Pages

Display a WhatsApp button on WooCommerce single product pages. You can customize color and shape of…

Disable Plugin & Theme Editor

Prevent users from using the Plugin & Theme file editor.

Defining Postmark Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

MemberPress: Set Custom Product Pages

Use this snippet if the membership shortcode is used on a custom page (the page that…

MemberPress: Replace Font-Family for PDF Invoice

To replace the font-family used for PDF invoices, font files need to be uploaded to a…

1 124 125 126 127 128 223