llms_get_checkout_redirection_types( string $product_type = '' )
Get an array of available course/membership checkout redirection options
Parameters Parameters
- $product_type
-
(string) (Optional) The product type, Course or Membership
Default value: ''
Return Return
(array)
Source Source
File: includes/admin/llms.functions.admin.php
function llms_get_checkout_redirection_types( $product_type = '' ) { $product_type = empty( $product_type ) ? __( 'Course/Membership', 'lifterlms' ) : $product_type; return apply_filters( 'llms_checkout_redirection_types', array( 'self' => sprintf( __( '(Default) Return to %s', 'lifterlms' ), $product_type ), 'page' => __( 'Redirect to a WordPress Page', 'lifterlms' ), 'url' => __( 'Redirect to a custom URL', 'lifterlms' ), ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.30.0 | Introduced. |