rest_after_insert_attachment – action

Fires after a single attachment is completely created or updated via the REST API. 

Parameters

.
( 5.0.0 ) . .
( WP_Post ) $attachment Inserted or updated attachment object. . . .
$request
( WP_REST_Request ) Request object. . . .
( bool ) $creating True when creating an attachment, false when updating. . . .
API Letters: ,,

Implementers