Commissions as a fixed dollar amount, or fixed plus a percentage.
add_filter( 'wcv_commission_rate', 'my_wcv_custom_filter', 10, 3 ); function my_wcv_custom_filter( $commission, $product_id, $product_price ) { return WCV_Commission::get_commission_rate( $product_id…
keep retail prices showing including tax when wholesale price is set to show excluding tax
Display Prices in the Shop set to Excluding tax under Wholesale → Settings → Wholesale Prices…
Allow "Mark received" for Digital Product
add_filter( 'wcvendors_pro_mark_order_received_status', '__return_false' );
Card
/** * Shane Cakes - Complete WooCommerce Account Dashboard (With Animated Delivery Bike Tracking) */ //…
Disable Deactivation Links
Adds a filter to disable plugin deactivation links from admin dashboard for all users except the…
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…