Allow SVG Files Upload
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types.…
n'parks-photographie
page d'accueil
WP Simple Pay: Disable Webhook Failed Notification
Disable alert bubbles when webhook events are not received.
Explicit Fixed Width and Height
add_filter( 'the_content', 'add_image_dimensions' ); function add_image_dimensions( $content ) { preg_match_all( '/]+>/i', $content, $images); if (count($images) <…
Facebook Domain Verification snippet
Asembo Digital Solutions Facebook Pixel ID (tracking)
Number slider validation for multi page forms
This snippet outputs a small script that listens for the wpformsBeforePageChange event and stops the page…
Disable recurring renewal notices for specific download
Allows renewal notice emails to be disabled for subscriptions including a certain download.
Bing Webmaster
Bing Webmaster snippet
test onlinde
blah blah blah blah
Instagram Shop
Instagram and Facebook
Google AdSense Amp (Body section)
Google AdSense Amp (head section) Snippet
Generate a virtual coupon when order is completed.
This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…
WP Simple Pay: Stripe Checkout - Subscription Confirmation
Ensure Customer Subscriptions are available in the payment confirmation data.
Defining Other SMTP Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…