scbForms::validate_post_data( array $fields, array $data = null, array $to_update = array() )

Given a list of fields, validate some data.


Package


    Description Description


    Parameters Parameters

    $fields

    (array) (Required) List of args that would be sent to scbForms::input()

    $data

    (array) (Optional) (optional) The data to validate. Defaults to $_POST

    Default value: null

    $to_update

    (array) (Optional) (optional) Existing data to populate. Necessary for nested values

    Default value: array()


    Top ↑

    Return Return

    (array)


    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

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