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.


Top ↑

Parameters Parameters

$blocks

(array[]) Array of parsed WP_Block arrays.

$location

(string) The request form location ID.

$args

(array) Additional arguments passed to the short-circuit filter.


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.