About

Amateur hobbyist

21 Snippets
<10 Favourites
10+ Downloads

WP Simple Pay: Copy Payment Metadata to Customer Metadata

Ensure the Stripe Customer metadata is the same as the Stripe Payment metadata.

Ensure Webfont is Loaded (non-Elementor)

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

Override Header Logo with Custom SVG

While you can select an SVG image from the customizer for your header logo if you…

Add data-no-optimize to all JS snippets

This snippet filters the output of all the WPCode JavaScript snippets to add the data-no-optimize parameter…

<10

Genesis theme - use block editor in widgets

//* Genesis Enable the block-based widget editor add_filter( 'use_widgets_block_editor', '__return_true' );

1 7 8 9