- This topic has 2 replies, 2 voices, and was last updated 1 year, 10 months ago by .
I'm having trouble returning the object fields for a settings_page.
I've tried every possible combination I can think of, but I'm only getting an empty array in return:
If I query a meta-field that's stored in a settings_page I use
$field = rwmb_meta( 'bevestiging' , array( 'object_type' => 'setting' ) , 'company_settings' );
If I try to get the object fields stored from a settings_page, I use
$fields = rwmb_get_object_fields( 'company_settings', 'setting' );
But it returns nothing. What am I doing wrong here?
Using MB 5.2.3 and MB Settings 2.0 (Using Composer, since it's part of a plugin)
- You must be logged in to reply to this topic.