al_payment_gateways', $gateways ); } /** * Get reverse withdrawal billing type * * @since 3.5.1 * * @return array */ public static function get_billing_type_options() { $options = [ 'by_amount' => esc_html__( 'By Amount Limit', 'dokan-lite' ), 'by_month' => esc_html__( 'Monthly', 'dokan-lite' ), ]; return apply_filters( 'dokan_reverse_withdrawal_billing_type_options', $options ); } /** * Get reverse withdrawal failed payment actions * * @since 3.5.1 * * @return array */ public static function get_failed_payment_actions() { $actions = [ 'enable_catalog_mode' => esc_html__( 'Disable Add to Cart Button', 'dokan-lite' ), 'hide_withdraw_menu' => esc_html__( 'Hide Withdraw Menu', 'dokan-lite' ), 'status_inactive' => esc_html__( 'Make Vendor Status Inactive', 'dokan-lite' ), ]; return apply_filters( 'dokan_reverse_withdrawal_failed_payment_actions', $actions ); } }