Inventory_Presser_Plugin::sanitize_array( array $arr )

Sanitizes every member of an array at every level with sanitize_text_field()


Parameters

$arr

(array) (Required)


Return

(array)


Source

File: inventory-presser.php

			}

			// is this a vehicle?
			if ( ! empty( $_POST['post_type'] ) && INVP::POST_TYPE !== $_POST['post_type'] ) {
				// no, don't create any meta data for vehicles.
				return;
			}

			/**
			 * Tick the last modified date of this vehicle since we're saving changes.