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 - Single Vendor Taxonomy

It'll only allow the vendor to select one custom taxonomy term at a time

How to change the store address country for all vendors

/** * Set the vendor's store country to us. */ function wcv_set_vendor_country() { if ( function_exists(…

Allow "Mark received" for Digital Product

add_filter( 'wcvendors_pro_mark_order_received_status', '__return_false' );

MemberPress: Dynamic Trail Periods

Sets up a dynamic trial period so that all users renew on the same date. In…

Untitled Snippet

google-site-verification=6Ml542WH4lYeFrqKo9pBa6NBaAyONR9l0k5Sgrk27xk

Remove Gutenberg CSS

//Remove Gutenberg Block Library CSS from loading on the frontend function smartwp_remove_wp_block_library_css(){ wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style(…

<10

Set the ranges for Calendar List View | Display Eventbrite Events

The following code snippet filters the valid ranges for the next/prev keys of the calendar list…

Cusdtom WP escape

One major difficulty with passing WordPress org security reviews is escaping late. This function may help.

Tasty Roundups - Change Heading from h2 to h3

Change all your Tasty Roundup headings from h2 tags to h3 tags

<10

Disable WP Texturize

// Disable curly quotes remove_filter( 'the_content', 'wptexturize' );

Untitled Snippet

Haingo Rakotomalala
<10
1 95 96 97 98 99 224