Can't retrieve data from settingspage / group

Support General Can't retrieve data from settingspage / groupResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #33659
    info@ceescoenen.nl[email protected]
    Participant

    I have a settingspage 'samenstelling' with a custom-field group 'partij-samenstelling'.
    The custom-field group has 3 groups: ps_fractie_group, ps_lijst_group and ps_bestuur_group .

    I can't retrieve information from the settingspage / groups. I try different id's but it goes wrong.

    $group_values = rwmb_meta('ps_lijst_group', ['object_type' => 'setting'], 'samenstelling');

    What can be wrong?

    #33712
    Long NguyenLong Nguyen
    Moderator

    Hi Cees,

    Can you please share the code that creates the settings page and custom fields on your site?

    #33714
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long, how do I share this?

    #33727
    Long NguyenLong Nguyen
    Moderator

    Hi,

    If you use the Builder, please follow this documentation to generate PHP code https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code

    then paste the code here or use Pastebin https://pastebin.com/ and share the link.

    #33728
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long,

    It is midnight here and I could't sleep :). So I have make the code again and it works now.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.