apply_filters( 'llms_get_form_blocks', array[] $blocks , string $location , array $args )
Filters the parsed block list for a given LifterLMS form
Description Description
This hook can be used to programmatically modify, insert, or remove blocks (fields) from a form.
Parameters Parameters
- $blocks
-
Array of parsed WP_Block arrays.
- $location
-
The request form location ID.
- $args
-
Additional arguments passed to the short-circuit filter.
Source Source
File: includes/forms/class-llms-forms.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |