Inventory_Presser_Plugin::really_delete( int $post_id )

really_delete


Description Description

Action hook callback. Prevents vehicles from lingering in the Trash after they've been deleted by always force deleting.


Top ↑

Parameters Parameters

$post_id

(int) (Required)


Top ↑

Return Return

(void)


Top ↑

Source Source

File: inventory-presser.php

		 * where the number of meta values is what we calculated in $meta_field_count
		 */
		if( 0 < $meta_field_count )
		{
			$replacement = $pieces['orderby'] . ', ';
			for( $m=0; $m<$meta_field_count; $m++ )
			{
				$replacement .= 'mt' . ( $m+1 ) . '.meta_value';
				/**
				 * Determine if this meta field should be sorted as a number
				 * 1. Parse out the meta key name from $pieces['where']