= (int) $field['max_file_uploads'] ) $classes[] = 'hidden'; $classes = implode( ' ', $classes ); $html .= "{$i18n_title}"; return $html; } /** * Get field value * It's the combination of new (uploaded) images and saved images * * @param array $new * @param array $old * @param int $post_id * @param array $field * * @return array|mixed */ static function value( $new, $old, $post_id, $field ) { $new = (array) $new; return array_unique( array_merge( $old, $new ) ); } static function print_templates() { $i18n_delete = apply_filters( 'rwmb_image_delete_string', _x( 'Delete', 'image upload', 'rwmb' ) ); $i18n_edit = apply_filters( 'rwmb_image_edit_string', _x( 'Edit', 'image upload', 'rwmb' ) ); ?>