• Resolved ydwebdesign

    (@ydwebdesign)


    Hello.
    I am trying to incorporate the custom status filter for invoices.
    This code is in my functions.php and is not providing any new status options.

    add_filter( ‘sliced_quote_status_params’, ‘sliced_enable_custom_statuses’ );
    add_filter( ‘sliced_invoice_status_params’, ‘sliced_enable_custom_statuses’ );
    function sliced_enable_custom_statuses( $opts ) {
    $opts[‘show_ui’] = TRUE;
    return $opts;
    }

    What are the available options to do this?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Statuses’ is closed to new replies.