Retrieve Meta Box Value from Another Plugin
-
First off I wanted to say great plugin!
I am having trouble retrieving the value of a metabox field from within another plugin folder. Here is my setup:
In my functions.php file I have the include path to my theme specific metabox file, in my plugins folder I have the rwmetabox plugin, and another plugin (let’s call it Plugin B). What I am trying to do in ‘Plugin B’ is: $layout_content = rwmb_meta( $se_layout_content, $layout_id );
The $layout_id field is retrieving the value of a shortcode attribute (which corresponds with a custom post ID). I would like to grab the contents of my custom field based on that ID.
I think the problem is that these two plugins do not know how to talk to each other, but I am not sure where to go from here. Would it be best to include the theme_metabox file inside of Plugin B, or is there a better approach?
Let me know.
Thanks!
- The topic ‘Retrieve Meta Box Value from Another Plugin’ is closed to new replies.