get_primary_column_name example

/** * Gets the name of the primary column. * * Public wrapper for WP_List_Table::get_default_primary_column_name(). * * @since 4.4.0 * * @return string Name of the default primary column. */
    public function get_primary_column() {
        return $this->get_primary_column_name();
    }

    /** * Gets the name of the primary column. * * @since 4.3.0 * * @return string The name of the primary column. */
    protected function get_primary_column_name() {
        $columns = get_column_headers( $this->screen );
        
Home | Imprint | This part of the site doesn't use cookies.