Content Restriction Compatibility for Software Licensing
Make the edd_restrict shortcode check if a license is expired before displaying content.
Show login form for logged out users
Shows the [edd_login] form on restricted content for logged out users.
Opening booking resources editor in new tab
This snippet will open the booking resources editor in a new tab instead of opening it…
Custom Field to Vendor Settings Page
/* WC Vendors Pro - My Custom Field */ function store_bank_details( ){ if ( class_exists( 'WCVendors_Pro'…
Recent products table
if ( ! function_exists( 'wcv_remove_recent_product_table_columns' ) ) { /** * Remove columns from Recent Products table…
Ensure Webfont is Loaded
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Combined Date – Time Format (Do something with the Local Start Time) | Display Eventbrite Events
The combined date / time format appears in several layouts and typically looks like 12/02/2019, 10:00…
Trigger a Scheduled Export via a WordPress Action
function custom_trigger_scheduled_export_url() { $secret_key = ( isset( $_GET['secret_key'] ) ? sanitize_text_field( $_GET['secret_key'] ) : false );…
font-family.css
div#om-{{id}} * { font-family: "Proxima Nova", Helvetica, "Helvetica Neue", Arial, sans-serif !important; }
Partner Group GTM Head Tag
Add GTM Tag to Site Header on Partner Site Group
Add Theme Supports
Reference: https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#opt-in-features
WPFire
WPCode snippet