run on payment page
if payment page, send email
WPForms: hide certain sections on a single entry page: notes, log, debug, meta, payment, actions, related, geolocation.
This code removes all sections on a single entry page in the admin area. Method names…
Untitled Snippet
function vqs_leaderboard_assets() { wp_enqueue_style( 'vqs-leaderboard-css', get_stylesheet_directory_uri() . '/vqs-leaderboard.css', [], '1.0' ); wp_enqueue_script( 'vqs-leaderboard-js', get_stylesheet_directory_uri() . '/vqs-leaderboard.js',…
Disallow store credits if cart has subscription product
This snippet will remove the store credit option if the cart has a subscription product
Paystack Split Payments Integration with WC Vendors — Creating the Split Configuration
public function process_split_payment( $order ) { $vendors_due = WCV_Vendors::get_vendor_dues_from_order( $order, false ); $sub_accounts = array(); foreach…
Download Archive Menu Item
Displays the download archive link in the "View All" tab of the "Pages" menu items meta…
Remove Discount Field
Removes the Discount Code field from the checkout form.
AffiliateWP — Restrict Checkout Referrals Dropdown by User Role
Restricts the AffiliateWP Checkout Referrals dropdown to only appear for logged-in users with a specific WordPress…
Readme.txt Parsing Enhancements
Updates a Download's current version and changes log fields when using the readme.txt parsing feature in…
RED'S CSS Snippet
#red-chatbot-wrap { max-width: 720px; margin: 30px auto; font-family: Arial, sans-serif; } .red-chatbot-card { border: 1px solid…
Foodtruck
crée moi moi un plugin pour wordpress pour un foodtruck avec une commande pour fermer et…