scbForms::input_from_meta( array $args, int $object_id, string $meta_type = 'post' )

For multiple-choice fields, we can never distinguish between “never been set” and “set to none”.


Package


    Description Description

    For single-choice fields, we can’t distinguish either, because of how self::update_meta() works. Therefore, the ‘default’ parameter is always ignored.


    Parameters Parameters

    $args

    (array) (Required) Field arguments.

    $object_id

    (int) (Required) The object ID the metadata is attached to

    $meta_type

    (string) (Optional) (optional)

    Default value: 'post'


    Top ↑

    Return Return

    (string)


    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

    You must log in before being able to contribute a note or feedback.