Changeset 32662 for trunk/src/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 05/31/2015 01:28:28 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r32654 r32662 798 798 799 799 /** 800 * Get name of default primary column800 * Get the name of the default primary column. 801 801 * 802 802 * @since 4.3.0 803 803 * @access protected 804 804 * 805 * @return string 805 * @return string Name of the default primary column, in this case, an empty string. 806 806 */ 807 807 protected function get_default_primary_column_name() { … … 810 810 811 811 /** 812 * Get name ofprimary column.812 * Get the name of the primary column. 813 813 * 814 814 * @since 4.3.0 815 815 * @access protected 816 816 * 817 * @return string Filtered name of primary column817 * @return string The name of the primary column. 818 818 */ 819 819 protected function get_primary_column_name() { 820 820 $columns = $this->get_columns(); 821 821 $default = $this->get_default_primary_column_name(); 822 822 823 /** 823 * Filter the name of the primary column for the current list table, with context as argument (eg: 'plugins'). 824 * Filter the name of the primary column for the current list table, with context 825 * as argument (eg: 'plugins'). 824 826 * 825 827 * @since 4.3.0 826 828 * 827 * @param string $default Column name default for the specific list table (eg: 'name')828 * @param string $context Screen ID for specific list table (eg: 'plugins')829 * @param string $default Column name default for the specific list table, e.g. 'name'. 830 * @param string $context Screen ID for specific list table, e.g. 'plugins'. 829 831 */ 830 832 $column = apply_filters( 'list_table_primary_column', $default, $this->screen->id ); … … 1157 1159 * @access protected 1158 1160 * 1159 * @param object $item Item being acted upon 1160 * @param string $column_name Current column name 1161 * @param string $primary Primary column name 1162 * 1163 * @return string 1161 * @param object $item The item being acted upon. 1162 * @param string $column_name Current column name. 1163 * @param string $primary Primary column name. 1164 * @return string The row actions output. In this case, an empty string. 1164 1165 */ 1165 1166 protected function handle_row_actions( $item, $column_name, $primary ) {
Note: See TracChangeset
for help on using the changeset viewer.