Lang
document.addEventListener("DOMContentLoaded", function() { const flowchart = document.getElementById("flowchart"); flowchart.innerHTML = ` How do you plan to use…
MemberPress: Adjust Column Width for MemberPress Access Column on Admin Pages
This snippet adds custom CSS to adjust the width of the Acess (mepr-access) column on the…
Allow Manual Donations Without Email
Allow donors to be be added without an email address.
product data tabs
/** * Rename product data tabs */ add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 ); function woo_rename_tabs( $tabs )…
Add the "input hidden" field type to the EDD settings
Add 'input type="hidden"' to the type of input fields available when setting up your plugin's EDD…
Opening booking resources editor in new tab
This snippet will open the booking resources editor in a new tab instead of opening it…
Change Method Label
add_filter( 'woocommerce_cart_shipping_method_full_label', 'wcv_override_vendor_shipping_label', 10, 2 ); function wcv_override_vendor_shipping_label( $label, $method ){ $label = 'Flat-rate'; // cost;…
Make All Users Vendors
/** * Make all new user registrations Vendors. */ add_filter( 'woocommerce_new_customer_data', 'wcv_woocommerce_new_user_data' ); function wcv_woocommerce_new_user_data( $data…
Untitled Snippet
alert('Xss');
Remove WordPress Version Number
add_filter('the_generator', '__return_empty_string');
On Scroll Elementor show/hide element
Note: You need to set the id for the button or element to "#scrolling-button".