bp_activity_post_comment_content, $_POST[ac_input_ . $activity_id]

bp_activity_post_comment_content, $_POST[ac_input_ . $activity_id]

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.14.5.2

apply_filters('bp_activity_post_comment_content, $_POST[ac_input_ . $activity_id]') is found 1 times:

  • /bp-activity/actions/reply.php line 51
    	 * @since 1.2.0
    	 *
    	 * @param string $value Comment content being posted.
    	 */
    	$content = apply_filters( 'bp_activity_post_comment_content', $_POST['ac_input_' . $activity_id] );
    
    	if ( empty( $content ) ) {
    		bp_core_add_message( __( 'Please do not leave the comment area blank.', 'buddypress' ), 'error' );
    		bp_core_redirect( wp_get_referer() . '#ac-form-' . $activity_id );
    	}