-
Notifications
You must be signed in to change notification settings - Fork 1
dev drafts
Vladimir Sklyar edited this page Jan 19, 2022
·
3 revisions
This page contains just random notes of the maintainer.
There is a big chance that this info is useless for you and you don't need to read that.
- import notes from Dropbox
- look at https://datatables.net/ (seems like it's not necessary)
- React components structure: https://miro.com/app/board/o9J_l4rnJco=/
- check Pixie's plugin
console.log(`[META-VIEWER] process.env.NODE_ENV = ${process.env.NODE_ENV}`);
return <h1>Temporary block</h1>;
/wp-admin/admin-ajax.php?action=vsm_refresh_data&entity=post&id=12
[
{
id: 1,
key: 'key1',
value: 'value1',
value_pretty: null,
},
{
id: 2,
key: 'key2',
value: 'value2',
value_pretty: null,
},
{
id: 3,
key: 'zkey3',
value: 'value3',
value_pretty: 'value3-pretty',
},
{
id: 4,
key: 'key4',
value: 'value4',
value_pretty: 'value4-pretty',
},
]
// Gutenberg integration, debug code
console.log("Refreshing was requested");
else {
console.log("Not requested", isSavingPost, didPostSaveRequestSucceed);
}
dump([$user_id, $capability, $allowed, $allowed_filtered]);