Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | function send_attachment_info( $attachment_id ) { |
||
16 | $attachment = get_post( $attachment_id ); |
||
17 | |||
18 | /** |
||
19 | * Fires when the client needs to sync an attachment for a post |
||
20 | * |
||
21 | * @since 4.2.0 |
||
22 | * |
||
23 | * @param int The attachment ID |
||
24 | * @param object The attachment |
||
25 | */ |
||
26 | do_action( 'jetpack_sync_save_add_attachment', $attachment_id, $attachment ); |
||
27 | } |
||
28 | } |