Inventory_Presser_REST::order_attachments( $params )

On This Page


Source Source

File: includes/class-rest.php

	public function order_attachments( $params ) {
		// Is the parent of this attachment a vehicle?
		$params['orderby']['enum'][] = apply_filters( 'invp_prefix_meta_key', 'photo_number' );
		return $params;
	}