bbp_toggle_reply_notice_admin

  • apply_filters( 'bbp_toggle_reply_notice_admin', $message, $reply->ID, $notice, $is_failure )

    Source Reference:

    • Component: bbPress :: bbp-admin
      File: /bbp-admin/bbp-replies.php :: Trac Source Line: 498
      					$message = $is_failure == true ? sprintf( __( 'There was a problem marking the reply "%1$s" as spam.', 'bbpress' ), $reply_title ) : sprintf( __( 'Reply "%1$s" successfully marked as spam.', 'bbpress' ), $reply_title );
      					break;
      
      				case 'unspammed' :
      					$message = $is_failure == true ? sprintf( __( 'There was a problem unmarking the reply "%1$s" as spam.', 'bbpress' ), $reply_title ) : sprintf( __( 'Reply "%1$s" successfully unmarked as spam.', 'bbpress' ), $reply_title );
      					break;
      			}
      
      			// Do additional reply toggle notice filters (admin side)
      			$message = apply_filters( 'bbp_toggle_reply_notice_admin', $message, $reply->ID, $notice, $is_failure );
      
      			?>
      
      			<div id="message" class="<?php echo $is_failure == true ? 'error' : 'updated'; ?> fade">
      				<p style="line-height: 150%"><?php echo $message; ?></p>
      			</div>
      
      			<?php
      		}
      	}
      

Comments are closed.