Inventory_Presser_Plugin::maybe_force_delete( int $post_id )
Action hook callback. Prevents vehicles from lingering in the Trash after they’ve been deleted if a plugin setting dictates such behavior.
On This Page
Parameters Parameters
- $post_id
-
(int) (Required)
Return Return
(void)
Source Source
File: inventory-presser.php
); } // Add a couple fields that are used on media attachments. $attachment_keys = array(); $attachment_keys[] = array( 'name' => 'hash', 'type' => 'string', ); $attachment_keys[] = array( 'name' => 'photo_number', 'type' => 'integer', ); $attachment_keys[] = array(
Expand full source codeCollapse full source codeView on Github