Untitled Snippet
add_filter( 'aioseo_robots_meta', 'aioseo_filter_robots_meta' ); function aioseo_filter_robots_meta( $attributes ) { $url = home_url( $_SERVER['REQUEST_URI'] ); if (strpos($url,'product_search=')…
Send Sale Alerts From Customer Email
Sets the From address of New Sale alert emails to the customer's email address
Grandfather Renewal Rate
Allows a custom renewal discount to be set for customers who purchased before a custom date
Change Vendor Pending Message
Changes the message shown to vendors when their account is pending.
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…
Custom fields to vendor settings page
add_action('wcvendors_settings_after_paypal', 'pv_add_custom_merchant_id_field'); function pv_add_custom_merchant_id_field() { ?>
Add vendor id and name to CSV commissions export
Add vendor id and name to CSV commissions export
Event URL (Additional Data) | Display Eventbrite Events
This filter allows you to adjust the event URL. This is primarily so you can add…
Untitled Snippet
wp_enqueue_style( 'style', get_stylesheet_uri() ); .wp-block-latest-comments__comment-date { color: var(--wp--preset--color--primary); font-size: var(--wp--preset--font-size--small); } function myfirsttheme_setup() { /* *…
Send Site Notifications to a BCC Address
This snippet will ensure all your site’s outgoing emails are also sent to a specific BCC…
Online shopping
Buying and selling all kinds of medical equipment online
om-js-events-ga-add-param.js
document.addEventListener( 'om.GoogleAnalytics.preConversionEvent', function( event ) { const { gaEvent } = event.detail; gaEvent.params.your_param1 = param1value; gaEvent.params.your_param2…