Filters

Description

  • rtm_moderation_labels

    Filter to change text of Report button.


add_filter( 'rtm_moderation_labels', 'change_moderation_report_button_label',10,1);
function change_moderation_report_button_label( $moderation_labels ){
    $moderation_labels['label']='your text';
    return $moderation_labels;
}
  • rtmedia_moderation_edit

    Filter to edit reported media.


add_filter('rtmedia_moderation_edit', 'rtmedia_moderation_edit_status', 10, 1);
function rtmedia_moderation_edit_status( $status ) {
    $status = 1;
    return $status;
}