rest_after_insert_comment, $comment, $request, false

rest_after_insert_comment, $comment, $request, false

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('rest_after_insert_comment, $comment, $request, false') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php line 1003
     
    		$request->set_param( 'context', 'edit' );
    
    		/** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php */
    		do_action( 'rest_after_insert_comment', $comment, $request, false );
    
    		$response = $this->prepare_item_for_response( $comment, $request );
    
    		return rest_ensure_response( $response );
    	}