PHP-snippet: registratie lessen verwerken en AJAX endpoint
// Configuratie function get_parameters_36(): array { return [ "target_page_slug" => "lesrooster-evenemententeam-2025", "tablepress_table_id" => 36 ]; }…
Paystack Split Payments Integration with WC Vendors — Calculating Vendor Splits
if ( wc_string_to_bool( get_option( 'wcvendors_vendor_give_taxes' ) ) ) { // Add tax fees to vendor total…
Registro de Widget Personalizado - Lista Dinámica ACF
¿Qué hace? A diferencia del listado estándar, este widget se alimenta automáticamente de campos repetidores de…
Meta Pixel - AddToCart Event
Meta Pixel - AddToCart Event
Allow Subscriptions Product on BOGO and Add Product Search Field
add_filter( 'acfw_product_search_allowed_types' , 'acfw_search_add_support_for_subscription_products' ); function acfw_search_add_support_for_subscription_products( $product_types ) { $product_types[] = 'subscription'; $product_types[] = 'variable-subscription';…
Disable Update Notifications
Disable all wordpress update notifications
Sample Email Template Tag
This is an example of how to register a new email template tag for EDD.
what代码
AffiliateWP - Admin Notification for Vanity Coupon Code Requests
Sends an admin email notification whenever an affiliate submits a valid vanity coupon code change request…
Test one
echo "Hello dolly!";
Fix coupon displaying 0% in the affiliate dashboard
add_filter( 'get_post_metadata', function( $value, $object_id, $meta_key, $single ) { static $running = false; if ( $running…
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() {…
How to Disable Comments on Event Posts? | Quick Event Manager
This code snippet is designed to automatically disable comments for event post types generated via the…