apply_filters( 'RML/Folder/Meta/Save', $response, $request ) → {array}
This filter is called to save the metadata. You can use the $_POST fields to validate the input. If an error occurs you can pass an "error" array (string) to the response. Do not use this filter directly instead use the add_rml_meta_box() function!
Parameters:
Name | Type | Description |
---|---|---|
$response |
array | The response passed to the frontend |
$request |
WP_REST_Request | The server request |
Returns:
- Type
- array