Inventory_Presser_Plugin::mark_vehicles_for_sale_during_insertion( int $post_ID, WP_Post $post, bool $update )

Fires once a vehicle post has been saved.


Parameters

$post_ID

(int) (Required) Post ID.

$post

(WP_Post) (Required) Post object.

$update

(bool) (Required) Whether this is an existing post being updated.


Source

File: inventory-presser.php

			$meta_query[] = array(
				'key'     => $key,
				'value'   => $value,
				'compare' => $compare,
				'type'    => $type,
			);
			return $meta_query;
		}

		/**
		 * Checks if a meta_query already contains a clause.
		 *
		 * @param  mixed $meta_query
		 * @param  mixed $key
		 * @param  mixed $value
		 * @param  mixed $compare