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.


Parameters Parameters

$post

(null|WP_Post) Return a WP_Post object to short-circuit default lookup query.

$location

(string) Form location. Either "checkout", "registration", or "account".

$args

(array) Additional custom arguments.


Top ↑

Source Source

File: includes/forms/class-llms-forms.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.