rcp_apply_feedback_messages

The Restrict Content Pro - bbPress rcp apply feedback messages function.

Description

rcp_apply_feedback_messages(); 

Usage

  1. if ( !function_exists( 'rcp_apply_feedback_messages' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'restrict-content-pro-bbpress/includes/feedback-filters.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = rcp_apply_feedback_messages(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/feedback-filters.php  
  1. function rcp_apply_feedback_messages() { 
  2. global $user_ID; 
  3.  
  4. if( rcp_forum_is_premium() && ( ! rcp_is_active( $user_ID ) && ! current_user_can( 'moderate' ) ) ) { 
  5. add_filter( 'gettext', 'rcp_feedback_messages', 20, 3 );