Remove the LLMS Description for a Specific Post
This snippet removes the description from llms.txt for a specific post ID.
Remove Free Text
Remove the word "free" from free products
WooCommerce Wholesale Lead Capture Re-send Email Button in User Profile
This snippet will add a resend email button under User profile.
Allow SVG Files Upload
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types.…
WP Simple Pay: BuddyBoss Preview Compatibility
Provides BuddyBoss preview function compatibility
Format USD Currency
Displays $ as USD This will make $10 be displayed as 10 USD To set this…
Limit Cart to One Item
Prevents customers from ever purchasing more than a single item at once
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) <…
Disable recurring renewal notices for specific download
Allows renewal notice emails to be disabled for subscriptions including a certain download.
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…
Custom fields to vendor settings page
add_action('wcvendors_settings_after_paypal', 'pv_add_custom_merchant_id_field'); function pv_add_custom_merchant_id_field() { ?>
Remove WordPress Version Number
add_filter('the_generator', '__return_empty_string');