You appear to be a bot. Output may be restricted
Description
Display a current taxonomy
Usage
_oik_tax_taxonomy_row( $taxonomy, $data );
Parameters
- $taxonomy
- ( mixed ) required –
- $data
- ( mixed ) required –
Returns
voidSource
File name: oik-types/admin/oik-taxonomies.phpLines:
1 to 24 of 24
function _oik_tax_taxonomy_row( $taxonomy, $data ) { // bw_trace2(); $row = array(); $row[] = $taxonomy; $args = $data['args']; $taxonomies = bw_array_get( $data, 'taxonomies', null ); // Lookup the type and return the l10n value? $taxonomy_types = oik_tax_query_taxonomy_types(); $type = bw_array_get( $taxonomy_types, $args['type'], " " ); $row[] = esc_html( stripslashes( $type )) . " "; $row[] = esc_html( stripslashes( $args['label'] ) ) . " "; $singular_name = bw_return_singular_name( $args ); $row[] = esc_html( stripslashes( $singular_name ) ) . " "; $row[] = esc_html( stripslashes( $args['title'] ) ) . " "; $links = null; //$links .= retlink( null, admin_url("admin.php?page=oik_taxonomies&preview_taxonomy=$taxonomy"), "Preview" ); //$links .= " "; $links .= retlink( null, admin_url("admin.php?page=oik_taxonomies&delete_taxonomy=$taxonomy"), "Delete" ); $links .= " "; $links .= retlink( null, admin_url("admin.php?page=oik_taxonomies&edit_taxonomy=$taxonomy"), "Edit" ); $row[] = $links; bw_tablerow( $row ); }View on GitHub