PostTypeMultiple
TwebBlockPostTypeMultipleControl

"testPosts": {
"type": "array",
"default": []
}
import {
TwebBlockPostTypeMultipleControl,
} from '@tigriweb/components/attributes';
<TwebBlockPostTypeControl
label={ __('Posts Label', 'your-theme-name') }
help={ __('Posts Description', 'your-theme-name') }
postType="post"
name="testPosts"
{...{ attributes, setAttributes }}
/>
Last updated
Was this helpful?