Add option to sync gCal rules with padding

Issue #593 resolved
Valentina R created an issue

Proposed here and here.

Comments (23)

  1. Thomas Marcilly

    Awaiting for this issue to be solved as I do think it will be quite a progress for the plugin.

  2. Valentina R reporter

    perhaps an easier version would be to keep it working as is but have the option to include a default padding with a filter.

  3. Željan Topić

    From 4.25.0, this can be added with a filter:

    /** 
     * Add with a plugin like the Code Snippets plugin.
     *
     * Add product padding top synced events.
     * 
     */
    add_filter( 'wc_appointments_sync_with_padding', 'custom_sync_with_padding', 10, 2 );
    function custom_sync_with_padding( $return, $product ) {
        return true;
    };
    

    Will be added to core once we receive enough feedback from customers.

  4. Log in to comment