You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constlabelsRequest=useEntityRecords('postType','wp_block',{status: "publish",wp_pattern_category: [227]// does nothing ????});
/** * Reduce queried lists of 'wp_block' posts to only labels, based on the existence of the '_label_printing' post_meta. * * This is needed because the query doesn't respect the given taxonomy. * * So we do this manually. * * CAN BE REMOVED WHEN # IS CLOSED. * * @todo #... * * @returns */constgetOnlyLabels=()=>{returnlabelsRequest?.records?.filter((page)=>Object.prototype.toString.call(page.meta._label_printing)!=='[object Array]');}
The text was updated successfully, but these errors were encountered:
The query doesn't respect the given taxonomy.
The text was updated successfully, but these errors were encountered: