apply_filters( 'llms_get_form_post_pre_query', null|WP_Post $post , string $location , array $args )
Skip core lookup of the form for the request location and return a custom form post.
Description Description
Parameters Parameters
- $post
-
Return a WP_Post object to short-circuit default lookup query.
- $location
-
Form location. Either "checkout", "registration", or "account".
- $args
-
Additional custom arguments.
Source Source
File: includes/forms/class-llms-forms.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |