Search results for: admin
Remove Free Text
Remove the word "free" from free products
Change Business Info Phone Icon
This filter can be used to change the business info phone icon. Replace "/assets/images/email-icon.png" with the…
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
google-site-verification=6Ml542WH4lYeFrqKo9pBa6NBaAyONR9l0k5Sgrk27xk
Change user role for buyers
This is useful if, for example, you want buyers to be able to access dedicated content…
font-family.css
div#om-{{id}} * { font-family: "Proxima Nova", Helvetica, "Helvetica Neue", Arial, sans-serif !important; }
Event URL (Simple Usage) | Display Eventbrite Events
This filter allows you to adjust the event URL. This is primarily so you can add…
Adds URL to pages window
add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…
Disable Wordpress image compression
// Disable image compression add_filter( 'jpeg_quality', 'smashing_jpeg_quality' ); function smashing_jpeg_quality() { return 100; } // Disable…
Sending Form Fields as Smart Tags to Square
The snippet makes Smart Tags usable with Square payments. It allows you to include form fields…
Prevent Discounts on Renewals
Does not allow a discount code to be applied when an EDD SL is present in…
Recreate the aioseo_cache table
This code snippet recreates the missing 'aioseo_cache' table. This code snippet should be enabled and executed…
Adding Custom Border to Your Form
/* Add custom border to specific form */ #wpforms-form-1234 { border: 2px solid #333333; padding: 20px;…
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…