WP_Text_Diff_Renderer_Table::difference()publicWP 2.6.0

Method of the class: WP_Text_Diff_Renderer_Table{}

No Hooks.

Return

Int.

Usage

$WP_Text_Diff_Renderer_Table = new WP_Text_Diff_Renderer_Table();
$WP_Text_Diff_Renderer_Table->difference( $a, $b );
$a(int) (required)
-
$b(int) (required)
-

Changelog

Since 2.6.0 Introduced.

WP_Text_Diff_Renderer_Table::difference() code WP 6.5.4

public function difference( $a, $b ) {
	return abs( $a - $b );
}