LLMS_Forms::maybe_load_preview( WP_Post|boolean $post )

Load form autosaves when previewing a form


Parameters Parameters

$post

(WP_Post|boolean) (Required) WP_Post object for the llms_form post or false if no form found.


Top ↑

Return Return

(WP_Post|boolean)


Top ↑

Source Source

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

	 * @return array[] Array of parsed block arrays.
	 */
	public function parse_blocks( $content ) {

		$blocks = parse_blocks( $content );

		$blocks = $this->load_reusable_blocks( $blocks );

		$blocks = $this->cascade_visibility_attrs( $blocks );

		return $blocks;
	}

	/**
	 * Modifies a field for usage in the "free enrollment" checkout form
	 *
	 * If the block is not visible (according to LLMS block-level visibility settings)

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.