Add a document file upload

// Add the document field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_doc_uploader'); function wcv_doc_uploader( ){ if…

Enable product images in vendor order email notifications

add_filter( 'wcvendors_vendor_order_items_args', 'wcv_enable_product_image_vendor_order_email' ); function wcv_enable_product_image_vendor_order_email( $order_item_args ){ $order_item_args['show_image'] = true; return $order_item_args; }

custom footer chatgpt html

About Us "Ilavanam is a farm in Tiruppur. Ilavanam is trying to lead sustainable living. The…

Ensure Webfont is Loaded

add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );

<10

Add Subscriber to Segment with Duration

Adds the subscriber to the segment for a specific duration, after the defined number of days…

Action Scheduler Cleardown | Display Eventbrite Events

Eventbrite uses Action Scheduler to handle background tasks when background processing is enabled. By default, Action…

Post-States

add_filter( 'display_post_states', 'bu_style_post_state_bricks', 15, 2 ); function bu_style_post_state_bricks ($post_states, $post) { if( isset( $post_states['bricks'] ) )…

Remove image link from media uploads

Older versions of WordPress automatically linked the image to the media file.

<10

Customize Action Scheduler Retention Period

This snippet allows you to change the default 30-day storage for the Action Scheduler retention period.

Define the Mailgun Signing Key Constant

This snippet will allow you to define your Mailgun Signing Key constant inside your wp-config.php file…

MemberPress: Display Custom Field Value Instead of Customer Name in PDF invoice

This code snippet automatically adds the custom field value or the customer's full name at the…

Untitled Snippet

{"generator":"Code Snippets v3.6.5.1","date_created":"2024-07-30 20:37","snippets":[{"id":5,"name":"No price","code":"add_action( 'init', 'wpspecial_nascondi_prezzo_agli_utenti_non_registrati' );n nfunction wpspecial_nascondi_prezzo_agli_utenti_non_registrati() { ntif ( ! is_user_logged_in() )…

1 69 70 71 72 73 117