_rows example

if ( is_taxonomy_hierarchical( $taxonomy ) && ! isset( $this->callback_args['orderby'] ) ) {
            if ( ! empty( $this->callback_args['search'] ) ) {// Ignore children on searches.                 $children = array();
            } else {
                $children = _get_term_hierarchy( $taxonomy );
            }

            /* * Some funky recursion to get the job done (paging & parents mainly) is contained within. * Skip it for non-hierarchical taxonomies for performance sake. */
            $this->_rows( $taxonomy$this->items, $children$offset$number$count );
        } else {
            foreach ( $this->items as $term ) {
                $this->single_row( $term );
            }
        }
    }

    /** * @param string $taxonomy * @param array $terms * @param array $children * @param int $start * @param int $per_page * @param int $count * @param int $parent_term * @param int $level */
Home | Imprint | This part of the site doesn't use cookies.