bbp_edit_topic

bbp_edit_topic

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_edit_topic') is found 1 times:

  • /includes/topics/functions.php line 667
     
    	if ( ! empty( $topic_id ) && ! is_wp_error( $topic_id ) ) {
    
    		// Update counts, etc...
    		do_action( 'bbp_edit_topic', $topic_id, $forum_id, $anonymous_data, $topic_author , true /* Is edit */ );
    
    		/** Revisions *********************************************************/
    
    		// Update locks
    		update_post_meta( $topic_id, '_edit_last', bbp_get_current_user_id() );
    		delete_post_meta( $topic_id, '_edit_lock' );
    

See this hook used in plugins: