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.
<10
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 );
<10
Override Header Logo with Custom SVG
While you can select an SVG image from the customizer for your header logo if you…

<10
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' );
<10