Drafts - versusbassz/wp-meta-viewer Wiki

TODO

Recent commit message

Misc

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]);