Home / Admin / WP Simple Pay: Remove Card Terms
Duplicate Snippet

Embed Snippet on Your Site

WP Simple Pay: Remove Card Terms

Removes auto-generated terms displayed under card fields.

Code Preview
php
<?php
/**
 * @link https://library.wpcode.com/snippet/qor69dxo/
 */
add_filter(
	'simpay_payment_element_config',
	function( $element ) {
		$element['terms'] = array(
			'card' => 'never',
		);
		return $element;
	}
);

Comments

Add a Comment