Disallow Store Credit When There Is an Active Coupon in the Cart
- When you apply coupon first, once the cart refreshes, the Store Credit field will be…
WWPAY - Add Purchase Order Number field to Wholesale Payments at classic checkout
One caveat: this only support WooCommerce Classic Checkout.
Detect Orphaned Content in WordPress Admin
Identify published posts and pages that are not linked internally from other published content on your…
Untitled Snippet
<meta name="google-adsense-account" content="ca-pub-9481928342352849">
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() { ?>
Allow WooCommerce Shop Managers to manage vendors
/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…
login redirect changed from default my account page to home page
/** * WooCommerce My Account Page login Redirect */ add_action( 'wp_login', 'owp_redirect_after_logout' ); function owp_redirect_after_logout() {…
Untitled Snippet
custom events , running more than one function
WPEX Tetris REST Meta Integration
This code snippet exposes the following meta fields to the REST API: - universal_local_image_attachment_ids - universal_local_audio_attachment_ids…
Search Only Tag
Limit search with selected tag name.
No Index Page
Suggest search engine robots not to index pages.
Max Upload Size
Apply maximum file upload size.
Untitled Snippet
Paying attention to letter positions dordle is equally important. A correct letter in the wrong place…