Inventory_Presser_REST::order_attachments( $params )
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; }
Expand full source code Collapse full source code View on Github