This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Start preparing an array to insert Download Monitor's Download Version (which is a CPT with Download as parent post). | |
$dlm_download_version = array( | |
'post_title' => 'Download #' . $download_id . ' File Version', | |
'post_type' => 'dlm_download_version', | |
'post_status' => 'publish', | |
'post_parent' => $download_id, | |
'post_author' => $attachment->post_author, | |
); |
OlderNewer