WP_Text_Diff_Renderer_Table::__get

Advertisement

Summery Summery

Make private properties readable for backward compatibility.

Syntax Syntax

WP_Text_Diff_Renderer_Table::__get( string $name )

Parameters Parameters

$name

(string) (Required) Property to get.

Return Return

(mixed) Property.

Source Source

File: wp-includes/class-wp-text-diff-renderer-table.php

	public function __get( $name ) {
		if ( in_array( $name, $this->compat_fields, true ) ) {
			return $this->$name;
		}
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.