Amazon_S3_And_CloudFront::attachment_s3_actions_meta_box PHP Method

attachment_s3_actions_meta_box() public method

Render the S3 attachment meta box
    public function attachment_s3_actions_meta_box()
    {
        global $post;
        $file = get_attached_file($post->ID, true);
        $args = array('s3object' => $this->get_formatted_s3_info($post->ID), 'post' => $post, 'local_file_exists' => file_exists($file), 'user_can_perform_actions' => $this->verify_media_actions(), 'sendback' => 'post.php?post=' . $post->ID . '&action=edit');
        $this->render_view('attachment-metabox', $args);
    }
Amazon_S3_And_CloudFront