column_default example

case 'auto-updates':
                    echo "<td class='column-auto-updates{$extra_classes}'>";

                    $this->column_autoupdates( $item );

                    echo '</td>';
                    break;
                default:
                    echo "<td class='$column_name column-$column_name{$extra_classes}'>";

                    $this->column_default( $item$column_name );

                    echo '</td>';
                    break;
            }
        }
    }

    /** * @global string $status * @global array $totals * * @param WP_Theme $theme */
$classes,
                    $data,
                    $primary
                );
            } elseif ( method_exists( $this, 'column_' . $column_name ) ) {
                echo "<td $attributes>";
                echo call_user_func( array( $this, 'column_' . $column_name )$item );
                echo $this->handle_row_actions( $item$column_name$primary );
                echo '</td>';
            } else {
                echo "<td $attributes>";
                echo $this->column_default( $item$column_name );
                echo $this->handle_row_actions( $item$column_name$primary );
                echo '</td>';
            }
        }
    }

    /** * Generates and display row actions links for the list table. * * @since 4.3.0 * * @param object|array $item The item being acted upon. * @param string $column_name Current column name. * @param string $primary Primary column name. * @return string The row actions HTML, or an empty string * if the current column is not the primary column. */
Home | Imprint | This part of the site doesn't use cookies.