LLMS_Blocks::admin_print_scripts()

Print dynamic block information as a JS variable


Description Description

Allows us to ensure we only add visibility attributes to static blocks. Prevents an issue causing rest api validation issues during attribute validation because it’s impossible to register custom attributes on a block.


Return Return

(void)


Top ↑

Source Source

File: libraries/lifterlms-blocks/includes/class-llms-blocks.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Since WordPress 5.8 blocks are available in widgets and customizer screen too.
1.5.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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