bp_activity_post_update_item_id, $_POST[whats-new-post-in]

bp_activity_post_update_item_id, $_POST[whats-new-post-in]

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.14.5.2

apply_filters('bp_activity_post_update_item_id, $_POST[whats-new-post-in]') is found 1 times:

  • /bp-activity/actions/post.php line 55
    		 * @since 1.2.0
    		 *
    		 * @param string $value Chosen component to post activity to.
    		 */
    		$item_id = apply_filters( 'bp_activity_post_update_item_id', $_POST['whats-new-post-in'] );
    	}
    
    	// No activity content so provide feedback and redirect.
    	if ( empty( $content ) ) {
    		bp_core_add_message( __( 'Please enter some content to post.', 'buddypress' ), 'error' );
    		bp_core_redirect( wp_get_referer() );