Inventory_Presser_Plugin::sanitize_array( array $arr )
Sanitizes every member of an array at every level with sanitize_text_field()
Parameters Parameters
- $arr
-
(array) (Required)
Return Return
(array)
Source Source
File: inventory-presser.php
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. * It looks like this: Tue, 06 Sep 2016 09:26:12 -0400 */ $offset = sprintf( '%+03d00', intval( get_option( 'gmt_offset' ) ) );
Expand full source codeCollapse full source codeView on Github