Actions

Descriptions

rtm_before_save_bbpress_attachments


Action will fire just before attached media will upload.

add_action( 'rtm_before_save_bbpress_attachments', 'rtmedia_before_save_bbpress_attachments', 10, 2  );

function rtmedia_before_save_bbpress_attachments ( $context_id, $context ) {
    error_log( var_export( 'New attachment will add to  '. $context . ' => '.$context_id , true ) );
}

rtm_after_save_bbpress_attachments


Action will fire just after attached media uploaded.

add_action( 'rtm_after_save_bbpress_attachments','rtmedia_after_save_bbpress_attachments', 10, 2 );

function rtmedia_after_save_bbpress_attachments ( $context_id, $context ) {
    error_log( var_export( 'New attachment added to  '. $context . ' => '.$context_id , true ) );
}