JS Filters
lzb.constructor.code-settings
Filters constructor JSX item render of code settings.
Available Filters
Name |
---|
lzb.constructor.code-settings.output-method |
lzb.constructor.code-settings.output-code |
lzb.constructor.code-settings.output-template |
lzb.constructor.code-settings.preview |
lzb.constructor.code-settings.additional |
Attributes
Name | Type | Description |
---|---|---|
render | JSX | render JSX item |
data | Object | helpful data for settings |
Usage
JS
wp.hooks.addFilter(
"lzb.constructor.code-settings.output-method",
"my.custom.namespace",
function (render, props) {
console.log(render, props);
return render;
}
);
Previous Articlelzb.components.PreviewServerCallback.allowFetchNext Articlelzb.constructor.controls.item