RWMB_Media_Field::value PHP 메소드

value() 공개 정적인 메소드

Get meta values to save
public static value ( mixed $new, mixed $old, integer $post_id, array $field ) : array | mixed
$new mixed
$old mixed
$post_id integer
$field array
리턴 array | mixed
    public static function value($new, $old, $post_id, $field)
    {
        array_walk($new, 'absint');
        return array_filter(array_unique($new));
    }