Home / Admin / WP Simple Pay: Remove Payment Page Compatibility Mode
Duplicate Snippet

Embed Snippet on Your Site

WP Simple Pay: Remove Payment Page Compatibility Mode

Allows 3rd party scripts and styles to load on dedicated Payment Pages. These are disabled by default to provide better compatibility with themes.

Code Preview
php
<?php
/**
 * @link https://library.wpcode.com/snippet/d2zk9r2x/
 */
add_filter( 'simpay_payment_page_css_compatibility_mode', '__return_false' );
add_filter( 'simpay_payment_page_js_compatibility_mode', '__return_false' );

Comments

Add a Comment