Blog filter

Add a filter for blogs

Ensure Webfont is Loaded (Elementor)

add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );

Change user role for buyers

This is useful if, for example, you want buyers to be able to access dedicated content…

Prevent Duplicate Cart Items

Prevents the same item from being added to the cart multiple times.

Exclude downloads from search

Exclude downloads from showing in search results

Add custom CSS in the Admin

Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…

<10

Custom Tab Order For Dashboard

The following code will allow you to change the order that the front end dashboard is…

Estimated reading time

// Estimated reading time function readTime ( $content = '', $words_per_minute = 250, $with_gutenberg = false…

WP Simple Pay: Remove Decimals

Removes trailing decimals on price outputs. Note: Does not affect Stripe Checkout.

WP Simple Pay: Use Custom Field Value as Stripe Payment Description

Use the value of a custom field as the description for the Stripe payment record.

WP Simple Pay: Facebook Payment Conversion Tracking

Execute a script the first and only time a payment confirmation is viewed.

Goal Tracking Pixel

This pixel tracks the unit conversions and revenue across all your push campaigns. This helps you…

On Browsing WooCommerce Products

This snippet targets window shoppers and encourages them to add more products to their carts. This…

Copyright Year Shortcode

Add shortcode to automatically update the copyright year. [year]

Hide unnecessary roles

Masque les roles qui ne doivent pas être utilisés dans les filtres utilisateurs

1 23 24 25 26 27 119