• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors
  • My Account

LifterLMS LifterLMS

  • Code Reference
  • REST API
  • LLMS-CLI

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Code Reference / includes/forms/class-llms-form-templates.php

LLMS_Form_Templates::prepare_block_attrs()

Method: Prepares block attributes for a given reusable block

Source: includes/forms/class-llms-form-templates.php:448

Used by 2 functions | Uses 2 functions

LLMS_Form_Templates::prepare_blocks()

Method: Recursively prepare a list of blocks to ensure it can be passed into serialize_blocks() without error

Source: includes/forms/class-llms-form-templates.php:474

Used by 2 functions | Uses 1 function

LLMS_Form_Templates::set_required_atts()

Method: Modifies the `required` block attribute

Source: includes/forms/class-llms-form-templates.php:507

Used by 2 functions | Uses 1 function

LLMS_Form_Templates::get_template_blocks()

Method: Retrieve a list of blocks for the given template

Source: includes/forms/class-llms-form-templates.php:358

Used by 1 function | Uses 4 functions

LLMS_Form_Templates::get_voucher_block()

Method: Retrieve block for the voucher row.

Source: includes/forms/class-llms-form-templates.php:408

Used by 1 function | Uses 0 functions

LLMS_Form_Templates::get_template()

Method: Retrieve the block template HTML for a given location.

Source: includes/forms/class-llms-form-templates.php:328

Used by 1 function | Uses 2 functions

llms_blocks_template_use_reusable_blocks

Filter Hook: Filters whether or not reusable blocks should be used when generating a form template

Source: includes/forms/class-llms-form-templates.php:341

Used by 1 function | Uses 0 functions

LLMS_Form_Templates::get_legacy_option()

Method: Retrieves legacy option’s value for a given field and location

Source: includes/forms/class-llms-form-templates.php:248

Used by 1 function | Uses 0 functions

LLMS_Form_Templates::get_reusable_block()

Method: Retrieves a core/block WP_Block array for a given default/core field

Source: includes/forms/class-llms-form-templates.php:281

Used by 2 functions | Uses 1 function

LLMS_Form_Templates::get_reusable_block_schema()

Method: Retrieves the schema definition for a default/core reusable block

Source: includes/forms/class-llms-form-templates.php:300

Used by 1 function | Uses 2 functions
1 2 Next »
© 2014 - 2023 LifterLMS · Privacy Policy · Terms and Conditions