CMB2 SDK QUESTION
-
I discovered this page
Do you have any sample code that shows the operations of function calls from this page:
https://cmb2.io/api/class-CMB2_Field.htmlIt appears to have the ability to get values from the CMB2 system. The one in specific is
value( string $key = '' )
When doing a dump of the show_on_cb callback and the resulting parameter is a
CMB2_Field Object
Should these not work to retrieve data? I am back to the front end, and need to retrieve the data within a record, but before display. Specifically the postid, which is stored there.
13-07-2019, 22:54:05: CMB2_Field Object ( [properties_name:protected] => args [args] => Array ( [type] => select [name] => Horse Breed: [desc] => [before] =>
if this does and you can show me a sample of code, this would solve the problem. presently the call is coming up blank.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘CMB2 SDK QUESTION’ is closed to new replies.