JS Filters
lzb.constructor.control.settings
Filters block builder JSX settings render.
Attributes
Name | Type | Description |
---|---|---|
render | JSX | render JSX item |
props | Object | props |
Additional Filters
Name | Description |
---|---|
lzb.constructor.controls.CONTROL_TYPE.settings | specific controls only |
Usage
JS
wp.hooks.addFilter(
"lzb.constructor.controls.settings",
"my.custom.namespace",
function (render, props) {
console.log(render, props);
return render;
}
);
JS
wp.hooks.addFilter(
"lzb.constructor.controls.checkbox.settings",
"my.custom.namespace",
function (render, props) {
console.log(render, props);
return render;
}
);