Remove Google Fonts (non-Elementor)

function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );

Prevent AlOSEO from outputting any data on term pages

This snippet can be used to prevent AlOSEO from outputting any data on term pages

<10

Add Custom Dynamic Variables

The Total theme allows you to use "Dynamic Variables" in various element text fields such as…

Defining Brevo (Sendinblue) Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

Add Creator Name

Display the campaign creator's name on the campaign page and in the campaign grid/list.

MemberPress: Add Bio Info To Account Page

The code will add the field called Bio to the MemberPress Account Page using a classic…

Remove Gutenberg Block CSS

Remove Gutenberg Block Library CSS from loading on the frontend

New Donation Field Plus Customized Donor Name

This is the full code for a tutorial written on the WP Charitable blog.

How to Block Names From Completing Your Form - Simple format

/** * Prevent certain names from the Simple format Name form field. * * @link https://wpforms.com/developers/how-to-block-names-from-completing-your-form/…

<10

Fix the InvalidInternetMessageHeader Error in Outlook

This snippet will modify specific headers in your emails, which can help resolve this ‘InvalidInternetMessageHeader’ error…

Add Currency

Add a new currency (the example here is Armenian Dram currency (AMD) ).

Variable Pricing Dropdown

Convert variable prices from radio buttons to a dropdown

WP Simple Pay: Add Custom Field Data to Customer Metadata

Retrieve the value of a custom field and add it as metadata to the Stripe Customer…

Enable WP Mail SMTP Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

Continue Shopping Button

/** * Add Continue Shopping Button on Cart Page * Add to theme functions.php file or…

Carla Mawyin
<10
1 … 34 35 36 37 38 … 243