Change label of CSV header, and removing others(Export Totals to CSV)
This snippet will change the label of CSV header, and remove the others(Export Totals to CSV)
Remove "mail.readwrite" Scope for the Outlook Mailer (copy)
This snippet removes the `mail.readwrite` scope from the WP Mail SMTP plugin Outlook provider.
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(…
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'] ) )…
Change TikTok purchase Event
When using the WPCode Conversion Pixels addon the event name used when a purchase is completed…