Untitled Snippet

increase upload memory

WP Simple Pay: Modify Customer Record Creation

Add custom parameters to the Stripe Customer creation request.

WP Simple Pay: Change Custom Amount Field Input Type

Changes the `type` attribute on the `input` tag. This helps some mobile keyboards have a better…

WP Simple Pay: Reduce Currency Minimum Amount

The minimum amount is $0.50 US or equivalent in charge currency. WP Simple Pay uses $1.00…

WP Simple Pay: Lower reCAPTCHA Threshold

Adjusts the reCAPTCHA v3 threshold for determining fraudulent interactions. 1.0 is very likely a good interaction,…

WP Simple Pay: Per-Form Fixed Tax Rate Percentages

Override the returned tax rate for a given Payment Form. Important: Tax rates with the percentage…

WP Simple Pay: Custom Thousand Separator

Changes the thousand separator from the default , (comma) to a . (period).

WP Simple Pay: Disable Webhook Failed Notification

Disable alert bubbles when webhook events are not received.

WP Simple Pay: Remove Payment Page Compatibility Mode

Allows 3rd party scripts and styles to load on dedicated Payment Pages. These are disabled by…

Allow SVG Files Upload

/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types.…

<10

Disable Emojis

/** * Disable the emojis in WordPress. */ add_action( 'init', function () { remove_action( 'wp_head', 'print_emoji_detection_script',…

<10

Current Year

function current_year_shortcode() { return date('Y'); } add_shortcode('year', 'current_year_shortcode');

<10
1 38 39 40 41 42 121