WP_List_Table::__get() – Make private properties readable for backward compatibility.

You appear to be a bot. Output may be restricted

Description

Make private properties readable for backward compatibility.

Usage

$mixed = WP_List_Table::__get( $name );

Parameters

$name
( string ) required – Property to get.

Returns

mixed Property.

Source

File name: wordpress/wp-admin/includes/class-wp-list-table.php
Lines:

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

 View on GitHub View on Trac