CMB2 meta fields and core/editor WP Redux store
-
Hello,
I wonder if CMB2 custom registered metafields should be available or not in the wp.data “core/editor” Redux store in WordPress.I’ve got a bunch of CMB2 custom metafields in my theme, but if I call:
wp.data.select(‘core/editor’).getEditedPostAttribute(‘meta’)
…it return an empty array. While if I test an alternative metafield (created on the fly in my theme without CMB2 and using register_meta etc., this is available using wp.data.select
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘CMB2 meta fields and core/editor WP Redux store’ is closed to new replies.