Prevent Publishing Posts with Broken Internal Links
Checks all internal links within post content before publishing. If a linked page or post returns…
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');
Escaping Data
// instead the _e(), __() or _x() use the escaped version _e('Email Summary', 'duplicator-pro'); // this…
Active Campaign Snippet
footer
Euroclear Holding
https://www.legalentityidentifier.co.uk/leicert/?lei=549300IQZVZ949N37S44&t=d3&h=cHh1anA5LzdCQjJmNGw3b3QwWWI1Zz09
Extra WordPress Filters in Pro (Do something with the price display) | Display Eventbrite Events
Using this filter, you can change the price display. filter: (‘wfea_price_display‘ , $price_display, $min, $max, $currency)…
code at the end of the body tag
Hello, I need to include the following code at the end of the body tag of…
MemberPress: Replace Country Code with Country Name
Replaces the 2-digit country code in the {$user_address} parameter for emails with the full country name.
Changing the logo on the WordPress login page.
// Zmiana logo na stronie logowania Wordpress. add_filter( 'login_head', function () { $custom_logo = 'https://yourimageurl.com'; $logo_width…
Defining Amazon SES Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…