| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function create( $attachment_id, $data, $more_info_link, $posts_ids_as_featured_image = array(), $posts_ids_as_embed = array() ) { |
||
| 11 | |||
| 12 | return array( |
||
| 13 | 'attachment_id' => $attachment_id, |
||
| 14 | 'more_info_link' => $more_info_link, |
||
| 15 | 'posts_ids_as_embed' => $posts_ids_as_embed, |
||
| 16 | 'posts_ids_as_featured_image' => $posts_ids_as_featured_image, |
||
| 17 | 'filename' => $data['filename'], |
||
| 18 | 'author' => $data['author'], |
||
| 19 | 'license' => $data['license'], |
||
| 20 | 'license_family' => $data['licenseFamily'], |
||
| 21 | 'url' => $data['url'], |
||
| 22 | ); |
||
| 23 | } |
||
| 24 | |||
| 26 |